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 9b39df9 commit 60cfe7eCopy full SHA for 60cfe7e
src/cargo/ops/cargo_clean.rs
@@ -225,7 +225,7 @@ fn escape_glob_path(pattern: &Path) -> CargoResult<String> {
225
fn rm_rf_glob(
226
pattern: &Path,
227
config: &Config,
228
- progress: &mut impl CleaningProgressBar,
+ progress: &mut dyn CleaningProgressBar,
229
) -> CargoResult<()> {
230
// TODO: Display utf8 warning to user? Or switch to globset?
231
let pattern = pattern
@@ -237,7 +237,7 @@ fn rm_rf_glob(
237
Ok(())
238
}
239
240
-fn rm_rf(path: &Path, config: &Config, progress: &mut impl CleaningProgressBar) -> CargoResult<()> {
+fn rm_rf(path: &Path, config: &Config, progress: &mut dyn CleaningProgressBar) -> CargoResult<()> {
241
if fs::symlink_metadata(path).is_err() {
242
return Ok(());
243
0 commit comments