Rollup merge of #86846 - tlyu:stdio-locked-tracking, r=joshtriplett

stdio_locked: add tracking issue

Add the tracking issue number #86845 to the stability attributes for the implementation in #86799.

r? `@joshtriplett`
`@rustbot` label +A-io +C-cleanup +T-libs-api
This commit is contained in:
Yuki Okushi 2021-07-13 08:54:30 +09:00 committed by GitHub
commit bcacfe7c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -277,7 +277,7 @@ pub use self::error::{Error, ErrorKind, Result};
pub use self::stdio::set_output_capture;
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::stdio::{stderr, stdin, stdout, Stderr, Stdin, Stdout};
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub use self::stdio::{stderr_locked, stdin_locked, stdout_locked};
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::stdio::{StderrLock, StdinLock, StdoutLock};

View File

@ -347,7 +347,7 @@ pub fn stdin() -> Stdin {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn stdin_locked() -> StdinLock<'static> {
stdin().into_locked()
}
@ -442,7 +442,7 @@ impl Stdin {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn into_locked(self) -> StdinLock<'static> {
self.lock_any()
}
@ -668,7 +668,7 @@ pub fn stdout() -> Stdout {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn stdout_locked() -> StdoutLock<'static> {
stdout().into_locked()
}
@ -745,7 +745,7 @@ impl Stdout {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn into_locked(self) -> StdoutLock<'static> {
self.lock_any()
}
@ -945,7 +945,7 @@ pub fn stderr() -> Stderr {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn stderr_locked() -> StderrLock<'static> {
stderr().into_locked()
}
@ -1005,7 +1005,7 @@ impl Stderr {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn into_locked(self) -> StderrLock<'static> {
self.lock_any()
}