Skip to content

Commit 8be9fed

Browse files
committed
Fix compile error in solid's remove_dir_all
1 parent 94885bc commit 8be9fed

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/solid

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/solid/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ pub fn remove_dir_all(path: &Path) -> io::Result<()> {
538538
}
539539
};
540540
// ignore internal NotFound errors
541-
if let Err(err) = result
541+
if let Err(err) = &result
542542
&& err.kind() != io::ErrorKind::NotFound
543543
{
544544
return result;

0 commit comments

Comments
 (0)