diff options
| author | Ralf Jung <post@ralfj.de> | 2025-01-14 17:10:44 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-01-14 17:10:44 +0100 |
| commit | c2ed28443592adf74c6375514adac49a0d801a8a (patch) | |
| tree | 984a2b3ac6ea83113f3913a0f96e1025e59bd31b | |
| parent | c074d8eee765cfd64e6e143d2894c85c7f3ddc1d (diff) | |
| download | rust-c2ed28443592adf74c6375514adac49a0d801a8a.tar.gz rust-c2ed28443592adf74c6375514adac49a0d801a8a.zip | |
remove unnecessary rustc_allowed_through_unstable_modules
| -rw-r--r-- | library/std/src/os/fd/raw.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/os/fd/raw.rs b/library/std/src/os/fd/raw.rs index 22f5528248a..03dff94350d 100644 --- a/library/std/src/os/fd/raw.rs +++ b/library/std/src/os/fd/raw.rs @@ -19,11 +19,9 @@ use crate::sys_common::{AsInner, IntoInner}; use crate::{fs, io}; /// Raw file descriptors. -#[rustc_allowed_through_unstable_modules] #[stable(feature = "rust1", since = "1.0.0")] #[cfg(not(target_os = "hermit"))] pub type RawFd = raw::c_int; -#[rustc_allowed_through_unstable_modules] #[stable(feature = "rust1", since = "1.0.0")] #[cfg(target_os = "hermit")] pub type RawFd = i32; @@ -33,7 +31,6 @@ pub type RawFd = i32; /// This is only available on unix and WASI platforms and must be imported in /// order to call the method. Windows platforms have a corresponding /// `AsRawHandle` and `AsRawSocket` set of traits. -#[rustc_allowed_through_unstable_modules] #[stable(feature = "rust1", since = "1.0.0")] pub trait AsRawFd { /// Extracts the raw file descriptor. @@ -67,7 +64,6 @@ pub trait AsRawFd { /// A trait to express the ability to construct an object from a raw file /// descriptor. -#[rustc_allowed_through_unstable_modules] #[stable(feature = "from_raw_os", since = "1.1.0")] pub trait FromRawFd { /// Constructs a new instance of `Self` from the given raw file @@ -112,7 +108,6 @@ pub trait FromRawFd { /// A trait to express the ability to consume an object and acquire ownership of /// its raw file descriptor. -#[rustc_allowed_through_unstable_modules] #[stable(feature = "into_raw_os", since = "1.4.0")] pub trait IntoRawFd { /// Consumes this object, returning the raw underlying file descriptor. |
