Skip to content

Commit cb50d66

Browse files
committed
Fix dead code warning
1 parent 8586a24 commit cb50d66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: std/src/sys/pal/unsupported/process.rs

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub enum Stdio {
4040
MakePipe,
4141
ParentStdout,
4242
ParentStderr,
43+
#[allow(dead_code)] // This variant exists only for the Debug impl
4344
InheritFile(File),
4445
}
4546

0 commit comments

Comments
 (0)