From 98ccb41f7f7ada94dc704da77ff72842a3f17049 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 27 Aug 2019 10:39:25 +0200 Subject: [PATCH] [Auto] bin/core/diagnostics: Fix Clippy warnings Signed-off-by: flip1995 Signed-off-by: Matthias Beyer --- bin/core/imag-diagnostics/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/core/imag-diagnostics/src/main.rs b/bin/core/imag-diagnostics/src/main.rs index bef0b152..03d84d2a 100644 --- a/bin/core/imag-diagnostics/src/main.rs +++ b/bin/core/imag-diagnostics/src/main.rs @@ -147,7 +147,7 @@ fn main() { .into_get_iter() .map(|e| { 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(|e| {