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 94885bc commit 8be9fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 8be9fed

Please sign in to comment.