Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Commit 9a1090b

Browse files
committed
chore: use into_iter in create_project_references
1 parent 649697e commit 9a1090b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/link.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ fn create_project_references(children: &[String]) -> TypescriptParentProjectRefe
4242
TypescriptParentProjectReference {
4343
files: Vec::new(),
4444
references: sorted_children
45-
.iter()
46-
.map(|child| TypescriptProjectReference {
47-
path: child.to_string(),
45+
.into_iter()
46+
.map(|path| TypescriptProjectReference {
47+
path,
4848
})
4949
.collect(),
5050
}

0 commit comments

Comments
 (0)