From 533e7e6da015b71f7fdf4560ac5bb188e3b1a745 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Apr 2016 22:46:39 +0200 Subject: [PATCH] Remove unused mut keywords --- imag-link/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imag-link/src/main.rs b/imag-link/src/main.rs index 15802a8c..c0ddb67f 100644 --- a/imag-link/src/main.rs +++ b/imag-link/src/main.rs @@ -95,7 +95,7 @@ fn handle_internal_linking(rt: &Runtime) { debug!("Listing ready!"); } else { let mut from = { - let mut from = get_from_entry(&rt); + let from = get_from_entry(&rt); if from.is_none() { warn!("No 'from' entry"); exit(1); @@ -104,8 +104,8 @@ fn handle_internal_linking(rt: &Runtime) { }; debug!("Link from = {:?}", from.deref()); - let mut to = { - let mut to = get_to_entries(&rt); + let to = { + let to = get_to_entries(&rt); if to.is_none() { warn!("No 'to' entry"); exit(1);