We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fafd59a commit 33ceae8Copy full SHA for 33ceae8
src/bootstrap/builder.rs
@@ -304,7 +304,7 @@ impl StepDescription {
304
305
fn maybe_run(&self, builder: &Builder<'_>, pathsets: Vec<PathSet>) {
306
let excluded_pathsets: Vec<PathSet> =
307
- pathsets.iter().filter(|set| !self.is_excluded(builder, set)).clone().collect();
+ pathsets.iter().filter(|set| !self.is_excluded(builder, set)).cloned().collect();
308
309
// Determine the targets participating in this rule.
310
let targets = if self.only_hosts { &builder.hosts } else { &builder.targets };
0 commit comments