Skip to content

Commit 3b8ab5a

Browse files
committed
Fix compile error in solid's remove_dir_all
1 parent 065844b commit 3b8ab5a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

Diff for: 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)