未验证 提交 bcacfe7c 编写于 作者: Y Yuki Okushi 提交者: GitHub

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
......@@ -277,7 +277,7 @@
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 @@ fn lock_any<'a>(&self) -> StdinLock<'a> {
/// 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 @@ fn lock_any<'a>(&self) -> StdoutLock<'a> {
/// 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 @@ fn lock_any<'a>(&self) -> StderrLock<'a> {
/// Ok(())
/// }
/// ```
#[unstable(feature = "stdio_locked", issue = "none")]
#[unstable(feature = "stdio_locked", issue = "86845")]
pub fn into_locked(self) -> StderrLock<'static> {
self.lock_any()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册