Skip to content

Commit

Permalink
Fix compile error in solid's remove_dir_all
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Sep 2, 2024
1 parent 065844b commit 3b8ab5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sys/pal/solid/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3b8ab5a

Please sign in to comment.