Skip to content

Commit 4e84989

Browse files
Suppress new false-negatives that were masked by dead code analysis changes
1 parent ada5b54 commit 4e84989

File tree

1 file changed

+4
-0
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+4
-0
lines changed

library/std/src/sys/pal/unix/pipe.rs

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> {
4747
}
4848

4949
impl AnonPipe {
50+
#[allow(dead_code)]
51+
// FIXME: This function seems legitimately unused.
5052
pub fn try_clone(&self) -> io::Result<Self> {
5153
self.0.duplicate().map(Self)
5254
}
@@ -85,6 +87,8 @@ impl AnonPipe {
8587
self.0.is_write_vectored()
8688
}
8789

90+
#[allow(dead_code)]
91+
// FIXME: This function seems legitimately unused.
8892
pub fn as_file_desc(&self) -> &FileDesc {
8993
&self.0
9094
}

0 commit comments

Comments
 (0)