Remove unused mut keywords

This commit is contained in:
Matthias Beyer 2016-04-16 22:46:39 +02:00
parent a7c1cc0d6f
commit 533e7e6da0

View file

@ -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);