Skip to content

Commit 110f20b

Browse files
committed
Fix clippy
1 parent 89c9578 commit 110f20b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsc_lib/src/configure/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ impl Configurator {
833833
resolved_in_this_pass.push(name.clone());
834834
}
835835
Err(_) => {
836-
continue;
836+
// Parameter couldn't be resolved in this pass, try next pass
837837
}
838838
}
839839
} else {
@@ -842,7 +842,7 @@ impl Configurator {
842842
}
843843

844844
if resolved_in_this_pass.is_empty() {
845-
let unresolved_names: Vec<_> = unresolved_parameters.keys().map(|k| k.as_str()).collect();
845+
let unresolved_names: Vec<_> = unresolved_parameters.keys().map(std::string::String::as_str).collect();
846846
return Err(DscError::Validation(t!("configure.mod.circularDependency", parameters = unresolved_names.join(", ")).to_string()));
847847
}
848848

0 commit comments

Comments
 (0)