Skip to content

Commit 33ceae8

Browse files
committed
modify fuction clond() -> cloned()
1 parent fafd59a commit 33ceae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl StepDescription {
304304

305305
fn maybe_run(&self, builder: &Builder<'_>, pathsets: Vec<PathSet>) {
306306
let excluded_pathsets: Vec<PathSet> =
307-
pathsets.iter().filter(|set| !self.is_excluded(builder, set)).clone().collect();
307+
pathsets.iter().filter(|set| !self.is_excluded(builder, set)).cloned().collect();
308308

309309
// Determine the targets participating in this rule.
310310
let targets = if self.only_hosts { &builder.hosts } else { &builder.targets };

0 commit comments

Comments
 (0)