Simplify ResultExt implementation

Also introduce OptionExt
This commit is contained in:
topjohnwu
2025-08-22 12:03:47 -07:00
committed by John Wu
parent 36d33c7a85
commit fd193c3cae
5 changed files with 131 additions and 111 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ use crate::resetprop::proto::persistent_properties::{
use base::const_format::concatcp;
use base::libc::{O_CLOEXEC, O_RDONLY};
use base::{
Directory, FsPathBuilder, LibcReturn, LoggedResult, MappedFile, SilentResultExt, Utf8CStr,
Directory, FsPathBuilder, LibcReturn, LoggedResult, MappedFile, SilentLogExt, Utf8CStr,
Utf8CStrBuf, WalkResult, clone_attr, cstr, debug, libc::mkstemp,
};