aboutsummaryrefslogtreecommitdiff
path: root/src/output/aggregators.rs
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-05-13 17:03:58 +0200
committerDaniel <kingdread@gmx.de>2020-05-13 17:03:58 +0200
commit57b74f50e59a3fab2d74bbb6165d48ce3e6e2049 (patch)
tree0bd8b9b5c3e087805217fa52097cc8b41f4ce863 /src/output/aggregators.rs
parent5272800a7e397f6fcc7933b474d182fec4d18b08 (diff)
downloadraidgrep-57b74f50e59a3fab2d74bbb6165d48ce3e6e2049.tar.gz
raidgrep-57b74f50e59a3fab2d74bbb6165d48ce3e6e2049.tar.bz2
raidgrep-57b74f50e59a3fab2d74bbb6165d48ce3e6e2049.zip
fix formatting
Diffstat (limited to 'src/output/aggregators.rs')
-rw-r--r--src/output/aggregators.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/output/aggregators.rs b/src/output/aggregators.rs
index 24adbf8..83171eb 100644
--- a/src/output/aggregators.rs
+++ b/src/output/aggregators.rs
@@ -8,10 +8,7 @@
//! an Aggregator must make sure that the data is protected by a mutex or similar.
use super::{super::LogResult, formats::Format, sorting::Sorting};
-use std::{
- io::Write,
- sync::Mutex,
-};
+use std::{io::Write, sync::Mutex};
pub trait Aggregator: Sync {
fn push_item(&self, item: LogResult, format: &dyn Format, stream: &mut dyn Write);