diff options
author | Daniel <kingdread@gmx.de> | 2020-04-15 15:06:28 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-04-15 15:06:28 +0200 |
commit | c381bfd0972d8f8e080c74d63df66486e514f35f (patch) | |
tree | 448f765bed9a2aae8e9a3a0015e17f2b1de1b61e /src/output/aggregators.rs | |
parent | 7881ba85ff40f3d22237ef903c7241b56aa9c185 (diff) | |
download | raidgrep-c381bfd0972d8f8e080c74d63df66486e514f35f.tar.gz raidgrep-c381bfd0972d8f8e080c74d63df66486e514f35f.tar.bz2 raidgrep-c381bfd0972d8f8e080c74d63df66486e514f35f.zip |
formatting fixes
Diffstat (limited to 'src/output/aggregators.rs')
-rw-r--r-- | src/output/aggregators.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/output/aggregators.rs b/src/output/aggregators.rs index 5d0429c..1b04af3 100644 --- a/src/output/aggregators.rs +++ b/src/output/aggregators.rs @@ -15,12 +15,10 @@ pub trait Aggregator: Sync { fn finish(self, format: &dyn Format, stream: &mut dyn Write); } - /// An aggregator that just pushes through each item to the output stream without any sorting or /// whatsoever. pub struct WriteThrough; - impl Aggregator for WriteThrough { fn push_item(&self, item: &LogResult, format: &dyn Format, stream: &mut dyn Write) { let text = format.format_result(item); |