We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
io::ErrorKind::Other
1 parent 2019147 commit 04c1087Copy full SHA for 04c1087
library/std/src/sys/unix/process/process_unix.rs
@@ -822,14 +822,14 @@ impl crate::os::linux::process::ChildExt for crate::process::Child {
822
self.handle
823
.pidfd
824
.as_ref()
825
- .ok_or_else(|| Error::new(ErrorKind::Other, "No pidfd was created."))
+ .ok_or_else(|| Error::new(ErrorKind::Uncategorized, "No pidfd was created."))
826
}
827
828
fn take_pidfd(&mut self) -> io::Result<PidFd> {
829
830
831
.take()
832
833
834
835
0 commit comments