diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-04-09 13:44:53 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-04-09 13:44:53 +0000 |
| commit | b4a395bcce38cc92bd84306bb8c494bef4ad24e7 (patch) | |
| tree | 39baa1e841f9738aa764280820dd374ebae44e65 | |
| parent | bbd82ff44e00d5e12949b465098d646f515ce715 (diff) | |
| download | rust-b4a395bcce38cc92bd84306bb8c494bef4ad24e7.tar.gz rust-b4a395bcce38cc92bd84306bb8c494bef4ad24e7.zip | |
Fix dead code warning
| -rw-r--r-- | library/std/src/sys/pal/unsupported/process.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unsupported/process.rs b/library/std/src/sys/pal/unsupported/process.rs index 818a92488ac..2445d9073db 100644 --- a/library/std/src/sys/pal/unsupported/process.rs +++ b/library/std/src/sys/pal/unsupported/process.rs @@ -40,6 +40,7 @@ pub enum Stdio { MakePipe, ParentStdout, ParentStderr, + #[allow(dead_code)] // This variant exists only for the Debug impl InheritFile(File), } |
