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 4afa585 commit 61c2332Copy full SHA for 61c2332
src/cargo/core/compiler/build_context/target_info.rs
@@ -778,9 +778,7 @@ impl RustDocFingerprint {
778
.iter()
779
.filter(|path| path.exists())
780
.map(|path| paths::remove_dir_all(&path))
781
- .filter(|res| res.is_err())
782
- .collect::<CargoResult<Vec<()>>>()
783
- .map(|_| ())
+ .collect::<CargoResult<()>>()
784
}
785
786
/// This function checks whether the latest version of `Rustc` used to compile this
0 commit comments