@@ -19,11 +19,9 @@ use crate::sys_common::{AsInner, IntoInner};
1919use crate :: { fs, io} ;
2020
2121/// Raw file descriptors.
22- #[ rustc_allowed_through_unstable_modules]
2322#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2423#[ cfg( not( target_os = "hermit" ) ) ]
2524pub type RawFd = raw:: c_int ;
26- #[ rustc_allowed_through_unstable_modules]
2725#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2826#[ cfg( target_os = "hermit" ) ]
2927pub type RawFd = i32 ;
@@ -33,7 +31,6 @@ pub type RawFd = i32;
3331/// This is only available on unix and WASI platforms and must be imported in
3432/// order to call the method. Windows platforms have a corresponding
3533/// `AsRawHandle` and `AsRawSocket` set of traits.
36- #[ rustc_allowed_through_unstable_modules]
3734#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3835pub trait AsRawFd {
3936 /// Extracts the raw file descriptor.
@@ -67,7 +64,6 @@ pub trait AsRawFd {
6764
6865/// A trait to express the ability to construct an object from a raw file
6966/// descriptor.
70- #[ rustc_allowed_through_unstable_modules]
7167#[ stable( feature = "from_raw_os" , since = "1.1.0" ) ]
7268pub trait FromRawFd {
7369 /// Constructs a new instance of `Self` from the given raw file
@@ -112,7 +108,6 @@ pub trait FromRawFd {
112108
113109/// A trait to express the ability to consume an object and acquire ownership of
114110/// its raw file descriptor.
115- #[ rustc_allowed_through_unstable_modules]
116111#[ stable( feature = "into_raw_os" , since = "1.4.0" ) ]
117112pub trait IntoRawFd {
118113 /// Consumes this object, returning the raw underlying file descriptor.
0 commit comments