Allow calling remove_all on non-existence file

This commit is contained in:
topjohnwu
2025-09-10 03:44:39 -07:00
parent 111136733a
commit 94b1ff674f
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ impl<T> LibcReturn for nix::Result<T> {
#[derive(Debug)]
pub struct OsError<'a> {
errno: Errno,
pub errno: Errno,
name: &'static str,
arg1: Option<&'a str>,
arg2: Option<&'a str>,