diff options
author | Daniel <kingdread@gmx.de> | 2020-05-12 14:03:57 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-05-12 14:04:54 +0200 |
commit | 331dbac270273889111a3cd4bb73d16eeaf5ebde (patch) | |
tree | f9bff785f8bb0faa9476e153a63013f12031cfcc /src/filters | |
parent | 371186e872df3518bb5a2894f487ec02a42c771a (diff) | |
download | raidgrep-331dbac270273889111a3cd4bb73d16eeaf5ebde.tar.gz raidgrep-331dbac270273889111a3cd4bb73d16eeaf5ebde.tar.bz2 raidgrep-331dbac270273889111a3cd4bb73d16eeaf5ebde.zip |
use Display implementations from evtclib
Diffstat (limited to 'src/filters')
-rw-r--r-- | src/filters/log.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filters/log.rs b/src/filters/log.rs index 79513d5..8cfdcb4 100644 --- a/src/filters/log.rs +++ b/src/filters/log.rs @@ -33,8 +33,7 @@ impl Filter<EarlyLogResult, LogResult> for BossFilter { } fn filter(&self, log: &LogResult) -> bool { - let boss = Boss::from_u16(log.boss_id); - boss.map(|b| self.0.contains(&b)).unwrap_or(false) + log.boss.map(|b| self.0.contains(&b)).unwrap_or(false) } } |