Skip to content

Commit 7b67f3b

Browse files
committed
Fix compile error in solid's remove_dir_all
1 parent c1a80e4 commit 7b67f3b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)