We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada5b54 commit 4e84989Copy full SHA for 4e84989
library/std/src/sys/pal/unix/pipe.rs
@@ -47,6 +47,8 @@ pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> {
47
}
48
49
impl AnonPipe {
50
+ #[allow(dead_code)]
51
+ // FIXME: This function seems legitimately unused.
52
pub fn try_clone(&self) -> io::Result<Self> {
53
self.0.duplicate().map(Self)
54
@@ -85,6 +87,8 @@ impl AnonPipe {
85
87
self.0.is_write_vectored()
86
88
89
90
91
92
pub fn as_file_desc(&self) -> &FileDesc {
93
&self.0
94
0 commit comments