No need for clone
This commit is contained in:
parent
0101e5cb12
commit
1811c18b4a
|
@ -112,7 +112,7 @@ impl Library {
|
||||||
|
|
||||||
let mut path = root_path.clone();
|
let mut path = root_path.clone();
|
||||||
// Index section is the first ancestor of every single section
|
// Index section is the first ancestor of every single section
|
||||||
let mut parents = vec![root_key.clone()];
|
let mut parents = vec![root_key];
|
||||||
for component in §ion.file.components {
|
for component in §ion.file.components {
|
||||||
path = path.join(component);
|
path = path.join(component);
|
||||||
// Skip itself
|
// Skip itself
|
||||||
|
|
Loading…
Reference in a new issue