We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2947823 commit 7b08220Copy full SHA for 7b08220
antlir/antlir2/libcap/src/lib.rs
@@ -88,7 +88,7 @@ impl Capabilities {
88
let cap_text = self.cap_text()?;
89
let cstr = unsafe { CStr::from_ptr(cap_text.0) };
90
cstr.to_str()
91
- .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
+ .map_err(|e| std::io::Error::other(e))
92
.map(|s| s.to_owned())
93
}
94
0 commit comments