From 6a4e302e49bea67cfd2ce240bc0de284967540c1 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 23 Jul 2020 17:41:52 +0200 Subject: remove default implementation of Analyzer::outcome This was only there to make it easier to gradually implement the outcome method for the individual bosses. Now that each boss has a proper outcome, we no longer need the default method - in fact, I'd rather make sure the compiler tells us if we forget to implement this method in a new analyzer. --- src/analyzers/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/analyzers/mod.rs b/src/analyzers/mod.rs index f2cd2c7..880e5df 100644 --- a/src/analyzers/mod.rs +++ b/src/analyzers/mod.rs @@ -63,9 +63,7 @@ pub trait Analyzer { /// /// Note that not all logs need to have an outcome, e.g. WvW or Golem logs may return `None` /// here. - fn outcome(&self) -> Option { - None - } + fn outcome(&self) -> Option; } /// Returns the correct [`Analyzer`][Analyzer] for the given log file. -- cgit v1.2.3