Clippy lint: Remove unnecessary clone
This commit is contained in:
parent
a64a7b7470
commit
3c97525743
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue