File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,16 @@ use std::fs::File;
7575use std:: io;
7676use std:: path:: Path ;
7777
78- #[ cfg( any ( target_os = "redox" , unix) ) ]
78+ #[ cfg( unix) ]
7979use crate :: unix as imp;
80- #[ cfg( not( any( target_os = "redox" , unix, windows) ) ) ]
80+ #[ cfg( not( any( unix, windows) ) ) ]
8181use unknown as imp;
8282#[ cfg( windows) ]
8383use win as imp;
8484
85- #[ cfg( any ( target_os = "redox" , unix) ) ]
85+ #[ cfg( unix) ]
8686mod unix;
87- #[ cfg( not( any( target_os = "redox" , unix, windows) ) ) ]
87+ #[ cfg( not( any( unix, windows) ) ) ]
8888mod unknown;
8989#[ cfg( windows) ]
9090mod win;
@@ -334,15 +334,15 @@ impl Handle {
334334 /// Return the underlying device number of this handle.
335335 ///
336336 /// Note that this only works on unix platforms.
337- #[ cfg( any ( target_os = "redox" , unix) ) ]
337+ #[ cfg( unix) ]
338338 pub fn dev ( & self ) -> u64 {
339339 self . 0 . dev ( )
340340 }
341341
342342 /// Return the underlying inode number of this handle.
343343 ///
344344 /// Note that this only works on unix platforms.
345- #[ cfg( any ( target_os = "redox" , unix) ) ]
345+ #[ cfg( unix) ]
346346 pub fn ino ( & self ) -> u64 {
347347 self . 0 . ino ( )
348348 }
You can’t perform that action at this time.
0 commit comments