aboutsummaryrefslogtreecommitdiff
path: root/src/filters/player.rs
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-04-18 15:10:59 +0200
committerDaniel <kingdread@gmx.de>2020-04-18 15:10:59 +0200
commit7030224fd2a97b3551fdd47c43249e3a42341238 (patch)
treee5986f57f186ab061db9030c5f10285c3eb6b6d7 /src/filters/player.rs
parent79752779036d31ee6427c731cd7c058eccf1034a (diff)
downloadraidgrep-7030224fd2a97b3551fdd47c43249e3a42341238.tar.gz
raidgrep-7030224fd2a97b3551fdd47c43249e3a42341238.tar.bz2
raidgrep-7030224fd2a97b3551fdd47c43249e3a42341238.zip
make filters Debug
It's nice if you can print out the filter tree for debugging, so we're requireing filters to be Debug now.
Diffstat (limited to 'src/filters/player.rs')
-rw-r--r--src/filters/player.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filters/player.rs b/src/filters/player.rs
index 6cc7713..8f9196a 100644
--- a/src/filters/player.rs
+++ b/src/filters/player.rs
@@ -20,6 +20,7 @@ pub trait PlayerFilter = Filter<Agent, Player>;
/// [`LogFilter`](../log/traitalias.LogFilter.html) by requiring all players to match.
///
/// This struct will short-circuit once the result is known.
+#[derive(Debug)]
struct AllPlayers(Box<dyn PlayerFilter>);
impl Filter<PartialEvtc, LogResult> for AllPlayers {