diff --git a/components/library/src/library.rs b/components/library/src/library.rs index 4e5c5bd..2219054 100644 --- a/components/library/src/library.rs +++ b/components/library/src/library.rs @@ -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 §ion.file.components { path = path.join(component); // Skip itself