Skip to content

Commit e9c55d1

Browse files
committed
Correct 'stable' attribute
1 parent 85ef570 commit e9c55d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/libstd/sys/redox/ext/io.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,17 @@ impl AsRawFd for net::UdpSocket {
110110
}
111111
}
112112

113-
#[stable(feature = "rust1", since = "1.0.0")]
113+
#[stable(feature = "asraw_stdio", since = "1.21.0")]
114114
impl AsRawFd for io::Stdin {
115115
fn as_raw_fd(&self) -> RawFd { 0 }
116116
}
117117

118-
#[stable(feature = "rust1", since = "1.0.0")]
118+
#[stable(feature = "asraw_stdio", since = "1.21.0")]
119119
impl AsRawFd for io::Stdout {
120120
fn as_raw_fd(&self) -> RawFd { 1 }
121121
}
122122

123-
#[stable(feature = "rust1", since = "1.0.0")]
123+
#[stable(feature = "asraw_stdio", since = "1.21.0")]
124124
impl AsRawFd for io::Stderr {
125125
fn as_raw_fd(&self) -> RawFd { 2 }
126126
}

src/libstd/sys/unix/ext/io.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,17 @@ impl AsRawFd for net::UdpSocket {
106106
fn as_raw_fd(&self) -> RawFd { *self.as_inner().socket().as_inner() }
107107
}
108108

109-
#[stable(feature = "rust1", since = "1.0.0")]
109+
#[stable(feature = "asraw_stdio", since = "1.21.0")]
110110
impl AsRawFd for io::Stdin {
111111
fn as_raw_fd(&self) -> RawFd { libc::STDIN_FILENO }
112112
}
113113

114-
#[stable(feature = "rust1", since = "1.0.0")]
114+
#[stable(feature = "asraw_stdio", since = "1.21.0")]
115115
impl AsRawFd for io::Stdout {
116116
fn as_raw_fd(&self) -> RawFd { libc::STDOUT_FILENO }
117117
}
118118

119-
#[stable(feature = "rust1", since = "1.0.0")]
119+
#[stable(feature = "asraw_stdio", since = "1.21.0")]
120120
impl AsRawFd for io::Stderr {
121121
fn as_raw_fd(&self) -> RawFd { libc::STDERR_FILENO }
122122
}

0 commit comments

Comments
 (0)