Skip to content

Commit

Permalink
Update src/cargo/core/compiler/build_context/target_info.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Huss <eric@huss.org>
  • Loading branch information
CPerezz and ehuss committed Feb 13, 2021
1 parent 4afa585 commit 61c2332
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cargo/core/compiler/build_context/target_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,9 +778,7 @@ impl RustDocFingerprint {
.iter()
.filter(|path| path.exists())
.map(|path| paths::remove_dir_all(&path))
.filter(|res| res.is_err())
.collect::<CargoResult<Vec<()>>>()
.map(|_| ())
.collect::<CargoResult<()>>()
}

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

0 comments on commit 61c2332

Please sign in to comment.