From ed8f56aa462dabb0353e1d1c82ff38e21882b840 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 27 Aug 2019 10:41:14 +0200 Subject: [PATCH] [Auto] bin/core/mv: Fix Clippy warnings Signed-off-by: flip1995 Signed-off-by: Matthias Beyer --- bin/core/imag-mv/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/core/imag-mv/src/main.rs b/bin/core/imag-mv/src/main.rs index e1f1d9ca..27393279 100644 --- a/bin/core/imag-mv/src/main.rs +++ b/bin/core/imag-mv/src/main.rs @@ -118,11 +118,11 @@ fn main() { }); for link in linked_entries.iter_mut() { - let _ = entry.remove_link(link).map_err_trace_exit_unwrap(); + entry.remove_link(link).map_err_trace_exit_unwrap(); } } - let _ = rt + rt .store() .move_by_id(sourcename.clone(), destname.clone()) .map_err(|e| { // on error, re-add links @@ -132,7 +132,7 @@ fn main() { }) .map_err_trace_exit_unwrap(); - let _ = rt.report_touched(&destname).unwrap_or_exit(); + rt.report_touched(&destname).unwrap_or_exit(); // re-add links to moved entry relink(rt.store(), destname, &mut linked_entries); @@ -151,6 +151,6 @@ fn relink<'a>(store: &'a Store, target: StoreId, linked_entries: &mut Vec