[Auto] bin/core/diagnostics: Fix Clippy warnings

Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
flip1995 2019-08-27 10:39:25 +02:00 committed by Matthias Beyer
parent 25e5936b08
commit 98ccb41f7f

View file

@ -147,7 +147,7 @@ fn main() {
.into_get_iter() .into_get_iter()
.map(|e| { .map(|e| {
e.map_err_trace_exit_unwrap() e.map_err_trace_exit_unwrap()
.ok_or_else(|| Error::from(err_msg("Unable to get entry".to_owned()))) .ok_or_else(|| err_msg("Unable to get entry".to_owned()))
.map_err_trace_exit_unwrap() .map_err_trace_exit_unwrap()
}) })
.map(|e| { .map(|e| {