Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
.clone().into_iter() over .cloned()
Browse files Browse the repository at this point in the history
im just hand waving at this point
  • Loading branch information
Sky9x committed Nov 25, 2023
1 parent 724a80a commit 7166b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ pub fn process_folder(path: &Path, name: Option<String>) -> Result<NavFolder> {
let children = index
.fm
.nav
.iter()
.cloned()
.clone()
.into_iter()
.map(|elem| process_item(elem, &dir))
.collect::<Result<Vec<NavItem>>>()?;

Expand Down

0 comments on commit 7166b19

Please sign in to comment.