File tree 1 file changed +6
-6
lines changed
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;
75
75
use std:: io;
76
76
use std:: path:: Path ;
77
77
78
- #[ cfg( any ( target_os = "redox" , unix) ) ]
78
+ #[ cfg( unix) ]
79
79
use crate :: unix as imp;
80
- #[ cfg( not( any( target_os = "redox" , unix, windows) ) ) ]
80
+ #[ cfg( not( any( unix, windows) ) ) ]
81
81
use unknown as imp;
82
82
#[ cfg( windows) ]
83
83
use win as imp;
84
84
85
- #[ cfg( any ( target_os = "redox" , unix) ) ]
85
+ #[ cfg( unix) ]
86
86
mod unix;
87
- #[ cfg( not( any( target_os = "redox" , unix, windows) ) ) ]
87
+ #[ cfg( not( any( unix, windows) ) ) ]
88
88
mod unknown;
89
89
#[ cfg( windows) ]
90
90
mod win;
@@ -334,15 +334,15 @@ impl Handle {
334
334
/// Return the underlying device number of this handle.
335
335
///
336
336
/// Note that this only works on unix platforms.
337
- #[ cfg( any ( target_os = "redox" , unix) ) ]
337
+ #[ cfg( unix) ]
338
338
pub fn dev ( & self ) -> u64 {
339
339
self . 0 . dev ( )
340
340
}
341
341
342
342
/// Return the underlying inode number of this handle.
343
343
///
344
344
/// Note that this only works on unix platforms.
345
- #[ cfg( any ( target_os = "redox" , unix) ) ]
345
+ #[ cfg( unix) ]
346
346
pub fn ino ( & self ) -> u64 {
347
347
self . 0 . ino ( )
348
348
}
You can’t perform that action at this time.
0 commit comments