mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Fix compile error in solid's remove_dir_all
This commit is contained in:
parent
94885bc699
commit
8be9fed672
@ -538,7 +538,7 @@ pub fn remove_dir_all(path: &Path) -> io::Result<()> {
|
||||
}
|
||||
};
|
||||
// ignore internal NotFound errors
|
||||
if let Err(err) = result
|
||||
if let Err(err) = &result
|
||||
&& err.kind() != io::ErrorKind::NotFound
|
||||
{
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user