mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +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()))?;
|
Err(err).with_context(|| format!("failed to remove file `{}`", p.display()))
|
||||||
Ok(())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_not_readonly(p: &Path) -> io::Result<bool> {
|
fn set_not_readonly(p: &Path) -> io::Result<bool> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user