diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-30 12:16:33 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-03 07:57:31 -0400 |
| commit | cbd27db9a996661792bbbd1dde7ac476eded8340 (patch) | |
| tree | 443be2cf0c614571d2f3bca65b2b241ab0e05018 /library/std/src | |
| parent | ac56007ea7ba6f5bdf9c018f6561617fc5626e3d (diff) | |
| download | rust-cbd27db9a996661792bbbd1dde7ac476eded8340.tar.gz rust-cbd27db9a996661792bbbd1dde7ac476eded8340.zip | |
Suppress new false-negatives that were masked by dead code analysis changes
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/pal/unix/pipe.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/pipe.rs b/library/std/src/sys/pal/unix/pipe.rs index 8762af614f1..f0ebc767bad 100644 --- a/library/std/src/sys/pal/unix/pipe.rs +++ b/library/std/src/sys/pal/unix/pipe.rs @@ -47,6 +47,8 @@ pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> { } impl AnonPipe { + #[allow(dead_code)] + // FIXME: This function seems legitimately unused. pub fn try_clone(&self) -> io::Result<Self> { self.0.duplicate().map(Self) } @@ -85,6 +87,8 @@ impl AnonPipe { self.0.is_write_vectored() } + #[allow(dead_code)] + // FIXME: This function seems legitimately unused. pub fn as_file_desc(&self) -> &FileDesc { &self.0 } |
