diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-07-23 17:41:52 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-07-23 17:41:52 +0200 |
commit | 6a4e302e49bea67cfd2ce240bc0de284967540c1 (patch) | |
tree | b769c3524e5816c0fe9a0f5df0b7cc1692bde957 /src | |
parent | d2a3a49dc4759ede6cc9f553955eb289477a9d74 (diff) | |
download | evtclib-6a4e302e49bea67cfd2ce240bc0de284967540c1.tar.gz evtclib-6a4e302e49bea67cfd2ce240bc0de284967540c1.tar.bz2 evtclib-6a4e302e49bea67cfd2ce240bc0de284967540c1.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/analyzers/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<Outcome> { - None - } + fn outcome(&self) -> Option<Outcome>; } /// Returns the correct [`Analyzer`][Analyzer] for the given log file. |