Skip to content

Commit 61c2332

Browse files
CPerezzehuss
andauthored
Update src/cargo/core/compiler/build_context/target_info.rs
Co-authored-by: Eric Huss <[email protected]>
1 parent 4afa585 commit 61c2332

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cargo/core/compiler/build_context/target_info.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,9 +778,7 @@ impl RustDocFingerprint {
778778
.iter()
779779
.filter(|path| path.exists())
780780
.map(|path| paths::remove_dir_all(&path))
781-
.filter(|res| res.is_err())
782-
.collect::<CargoResult<Vec<()>>>()
783-
.map(|_| ())
781+
.collect::<CargoResult<()>>()
784782
}
785783

786784
/// This function checks whether the latest version of `Rustc` used to compile this

0 commit comments

Comments
 (0)