@@ -19,11 +19,9 @@ use crate::sys_common::{AsInner, IntoInner};
19
19
use crate :: { fs, io} ;
20
20
21
21
/// Raw file descriptors.
22
- #[ rustc_allowed_through_unstable_modules]
23
22
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
24
23
#[ cfg( not( target_os = "hermit" ) ) ]
25
24
pub type RawFd = raw:: c_int ;
26
- #[ rustc_allowed_through_unstable_modules]
27
25
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
28
26
#[ cfg( target_os = "hermit" ) ]
29
27
pub type RawFd = i32 ;
@@ -33,7 +31,6 @@ pub type RawFd = i32;
33
31
/// This is only available on unix and WASI platforms and must be imported in
34
32
/// order to call the method. Windows platforms have a corresponding
35
33
/// `AsRawHandle` and `AsRawSocket` set of traits.
36
- #[ rustc_allowed_through_unstable_modules]
37
34
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
38
35
pub trait AsRawFd {
39
36
/// Extracts the raw file descriptor.
@@ -67,7 +64,6 @@ pub trait AsRawFd {
67
64
68
65
/// A trait to express the ability to construct an object from a raw file
69
66
/// descriptor.
70
- #[ rustc_allowed_through_unstable_modules]
71
67
#[ stable( feature = "from_raw_os" , since = "1.1.0" ) ]
72
68
pub trait FromRawFd {
73
69
/// Constructs a new instance of `Self` from the given raw file
@@ -112,7 +108,6 @@ pub trait FromRawFd {
112
108
113
109
/// A trait to express the ability to consume an object and acquire ownership of
114
110
/// its raw file descriptor.
115
- #[ rustc_allowed_through_unstable_modules]
116
111
#[ stable( feature = "into_raw_os" , since = "1.4.0" ) ]
117
112
pub trait IntoRawFd {
118
113
/// Consumes this object, returning the raw underlying file descriptor.
0 commit comments