diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2020-08-17 14:56:31 +0200 | 
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2020-08-17 14:56:31 +0200 | 
| commit | a9a94161495718a2eb7bca8169671ecd0db72c9f (patch) | |
| tree | bc1f0cff087e2122cdacce75b239f523617d350a | |
| parent | 86fc78ac5fcf500cd19a1d791986548b0f3b6f5a (diff) | |
| download | evtclib-a9a94161495718a2eb7bca8169671ecd0db72c9f.tar.gz evtclib-a9a94161495718a2eb7bca8169671ecd0db72c9f.tar.bz2 evtclib-a9a94161495718a2eb7bca8169671ecd0db72c9f.zip | |
fix formattingv0.4.1
| -rw-r--r-- | src/lib.rs | 17 | 
1 files changed, 10 insertions, 7 deletions
| @@ -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()      }  } | 
