Skip to content

Commit 9bdf9e7

Browse files
committed
Update stability attribute for child stream From impls
1 parent 9de32a7 commit 9bdf9e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: library/std/src/os/unix/process.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ impl From<crate::process::ChildStdin> for OwnedFd {
438438
///
439439
/// The provided file descriptor must point to a pipe
440440
/// with the `CLOEXEC` flag set.
441-
#[stable(feature = "io_safety", since = "1.63.0")]
441+
#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
442442
impl From<OwnedFd> for process::ChildStdin {
443443
#[inline]
444444
fn from(fd: OwnedFd) -> process::ChildStdin {
@@ -468,7 +468,7 @@ impl From<crate::process::ChildStdout> for OwnedFd {
468468
///
469469
/// The provided file descriptor must point to a pipe
470470
/// with the `CLOEXEC` flag set.
471-
#[stable(feature = "io_safety", since = "1.63.0")]
471+
#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
472472
impl From<OwnedFd> for process::ChildStdout {
473473
#[inline]
474474
fn from(fd: OwnedFd) -> process::ChildStdout {
@@ -498,7 +498,7 @@ impl From<crate::process::ChildStderr> for OwnedFd {
498498
///
499499
/// The provided file descriptor must point to a pipe
500500
/// with the `CLOEXEC` flag set.
501-
#[stable(feature = "io_safety", since = "1.63.0")]
501+
#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
502502
impl From<OwnedFd> for process::ChildStderr {
503503
#[inline]
504504
fn from(fd: OwnedFd) -> process::ChildStderr {

Diff for: library/std/src/os/windows/process.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl IntoRawHandle for process::ChildStderr {
110110
///
111111
/// The provided handle must be asynchronous, as reading and
112112
/// writing from and to it is implemented using asynchronous APIs.
113-
#[stable(feature = "io_safety", since = "1.63.0")]
113+
#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
114114
impl From<OwnedHandle> for process::ChildStdin {
115115
fn from(handle: OwnedHandle) -> process::ChildStdin {
116116
let handle = sys::handle::Handle::from_inner(handle);
@@ -123,7 +123,7 @@ impl From<OwnedHandle> for process::ChildStdin {
123123
///
124124
/// The provided handle must be asynchronous, as reading and
125125
/// writing from and to it is implemented using asynchronous APIs.
126-
#[stable(feature = "io_safety", since = "1.63.0")]
126+
#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
127127
impl From<OwnedHandle> for process::ChildStdout {
128128
fn from(handle: OwnedHandle) -> process::ChildStdout {
129129
let handle = sys::handle::Handle::from_inner(handle);
@@ -136,7 +136,7 @@ impl From<OwnedHandle> for process::ChildStdout {
136136
///
137137
/// The provided handle must be asynchronous, as reading and
138138
/// writing from and to it is implemented using asynchronous APIs.
139-
#[stable(feature = "io_safety", since = "1.63.0")]
139+
#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
140140
impl From<OwnedHandle> for process::ChildStderr {
141141
fn from(handle: OwnedHandle) -> process::ChildStderr {
142142
let handle = sys::handle::Handle::from_inner(handle);

0 commit comments

Comments
 (0)