Browse Source

No need for clone

index-subcmd
Vincent Prouillet 6 years ago
parent
commit
1811c18b4a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      components/library/src/library.rs

+ 1
- 1
components/library/src/library.rs View File

@@ -112,7 +112,7 @@ impl Library {

let mut path = root_path.clone();
// 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 &section.file.components {
path = path.join(component);
// Skip itself


Loading…
Cancel
Save