File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ impl Read for StdinRaw {
9898 }
9999}
100100impl StdinRaw {
101- #[ cfg( any( unix, windows) ) ]
102101 #[ stable( since = "1.46.0" , feature = "stdin_nonblocking" ) ]
103102 pub unsafe fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
104103 self . 0 . set_nonblocking ( nonblocking)
@@ -394,7 +393,6 @@ impl Stdin {
394393 /// Ok(())
395394 /// }
396395 /// ```
397- #[ cfg( any( unix, windows) ) ]
398396 #[ stable( since = "1.46.0" , feature = "stdin_nonblocking" ) ]
399397 pub unsafe fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
400398 self . lock ( ) . set_nonblocking ( nonblocking)
@@ -495,7 +493,6 @@ impl StdinLock<'_> {
495493 /// Ok(())
496494 /// }
497495 /// ```
498- #[ cfg( any( unix, windows) ) ]
499496 #[ stable( since = "1.46.0" , feature = "stdin_nonblocking" ) ]
500497 pub unsafe fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
501498 match self . inner . get_ref ( ) {
You can’t perform that action at this time.
0 commit comments