mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
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:
commit
bcacfe7c64
@ -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};
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user