mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Don't depend on ?
affecting type inference in weird ways
This commit is contained in:
parent
a9a0746945
commit
898969e4a4
@ -510,8 +510,7 @@ fn _remove_file(p: &Path) -> Result<()> {
|
||||
}
|
||||
}
|
||||
|
||||
Err(err).with_context(|| format!("failed to remove file `{}`", p.display()))?;
|
||||
Ok(())
|
||||
Err(err).with_context(|| format!("failed to remove file `{}`", p.display()))
|
||||
}
|
||||
|
||||
fn set_not_readonly(p: &Path) -> io::Result<bool> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user