Remove unused mut keywords
This commit is contained in:
parent
a7c1cc0d6f
commit
533e7e6da0
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue