remove redundant clones

This commit is contained in:
Matthias Krüger 2024-01-07 00:17:48 +01:00
parent f595e60b6d
commit 476e10e961
23 changed files with 34 additions and 34 deletions

View file

@ -274,7 +274,7 @@ impl CargoWorkspace {
other_options.append(
&mut targets
.into_iter()
.flat_map(|target| ["--filter-platform".to_owned().to_string(), target])
.flat_map(|target| ["--filter-platform".to_owned(), target])
.collect(),
);
}