Clippy lint: Remove unnecessary clone

This commit is contained in:
apatniv 2020-12-31 15:18:37 -05:00
parent a64a7b7470
commit 3c97525743
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ fn load_chapter<P: AsRef<Path>>(
Chapter::new_draft(&link.name, parent_names.clone())
};
let mut sub_item_parents = parent_names.clone();
let mut sub_item_parents = parent_names;
ch.number = link.number.clone();