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 b171eeb commit a97cc87Copy full SHA for a97cc87
src/dir.rs
@@ -59,7 +59,7 @@ impl Dir {
59
Dir::from_fd(fd.into_raw_fd())
60
}
61
62
- /// Converts from a file descriptor, closing it on success or failure.
+ /// Converts from a file descriptor, closing it on failure.
63
#[doc(alias("fdopendir"))]
64
pub fn from_fd(fd: RawFd) -> Result<Self> {
65
let d = ptr::NonNull::new(unsafe { libc::fdopendir(fd) }).ok_or_else(
0 commit comments