From a9a94161495718a2eb7bca8169671ecd0db72c9f Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 17 Aug 2020 14:56:31 +0200 Subject: fix formatting --- src/lib.rs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index cd483da..c9f1ec1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -905,12 +905,15 @@ impl Log { /// Note that those are errors reported verbatim by arcdps, nothing that evtclib /// produces/interprets. pub fn errors(&self) -> Vec<&str> { - self.events().iter().filter_map(|e| { - if let EventKind::Error { ref text } = e.kind() { - Some(text as &str) - } else { - None - } - }).collect() + self.events() + .iter() + .filter_map(|e| { + if let EventKind::Error { ref text } = e.kind() { + Some(text as &str) + } else { + None + } + }) + .collect() } } -- cgit v1.2.3