Fix compile error in solid's remove_dir_all

This commit is contained in:
Ben Kimock 2024-09-02 14:57:55 -04:00
parent 94885bc699
commit 8be9fed672

View File

@ -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;