Skip to content

Commit 11dcc5a

Browse files
authored
Update windows.rs
1 parent 2f58193 commit 11dcc5a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

library/std/src/sys/anonymous_pipe/windows.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,92 +23,92 @@ pub fn pipe() -> io::Result<(AnonPipe, AnonPipe)> {
2323
}
2424
}
2525

26-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
26+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
2727
impl AsHandle for PipeReader {
2828
fn as_handle(&self) -> BorrowedHandle<'_> {
2929
self.0.as_handle()
3030
}
3131
}
32-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
32+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
3333
impl AsRawHandle for PipeReader {
3434
fn as_raw_handle(&self) -> RawHandle {
3535
self.0.as_raw_handle()
3636
}
3737
}
3838

39-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
39+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
4040
impl FromRawHandle for PipeReader {
4141
unsafe fn from_raw_handle(raw_handle: RawHandle) -> Self {
4242
unsafe { Self(Handle::from_raw_handle(raw_handle)) }
4343
}
4444
}
45-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
45+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
4646
impl IntoRawHandle for PipeReader {
4747
fn into_raw_handle(self) -> RawHandle {
4848
self.0.into_raw_handle()
4949
}
5050
}
5151

52-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
52+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
5353
impl From<PipeReader> for OwnedHandle {
5454
fn from(pipe: PipeReader) -> Self {
5555
Handle::into_inner(pipe.0)
5656
}
5757
}
58-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
58+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
5959
impl From<PipeReader> for Stdio {
6060
fn from(pipe: PipeReader) -> Self {
6161
Self::from(OwnedHandle::from(pipe))
6262
}
6363
}
6464

65-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
65+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
6666
impl AsHandle for PipeWriter {
6767
fn as_handle(&self) -> BorrowedHandle<'_> {
6868
self.0.as_handle()
6969
}
7070
}
71-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
71+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
7272
impl AsRawHandle for PipeWriter {
7373
fn as_raw_handle(&self) -> RawHandle {
7474
self.0.as_raw_handle()
7575
}
7676
}
7777

78-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
78+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
7979
impl FromRawHandle for PipeWriter {
8080
unsafe fn from_raw_handle(raw_handle: RawHandle) -> Self {
8181
unsafe { Self(Handle::from_raw_handle(raw_handle)) }
8282
}
8383
}
84-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
84+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
8585
impl IntoRawHandle for PipeWriter {
8686
fn into_raw_handle(self) -> RawHandle {
8787
self.0.into_raw_handle()
8888
}
8989
}
9090

91-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
91+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
9292
impl From<PipeWriter> for OwnedHandle {
9393
fn from(pipe: PipeWriter) -> Self {
9494
Handle::into_inner(pipe.0)
9595
}
9696
}
97-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
97+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
9898
impl From<PipeWriter> for Stdio {
9999
fn from(pipe: PipeWriter) -> Self {
100100
Self::from(OwnedHandle::from(pipe))
101101
}
102102
}
103103

104-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
104+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
105105
impl From<OwnedHandle> for PipeReader {
106106
fn from(owned_handle: OwnedHandle) -> Self {
107107
Self(Handle::from_inner(owned_handle))
108108
}
109109
}
110110

111-
#[unstable(feature = "anonymous_pipe", issue = "127154")]
111+
#[stable(feature = "anonymous_pipe", since = "CURRENT_RUSTC_VERSION")]
112112
impl From<OwnedHandle> for PipeWriter {
113113
fn from(owned_handle: OwnedHandle) -> Self {
114114
Self(Handle::from_inner(owned_handle))

0 commit comments

Comments
 (0)