stdio_locked: add tracking issue
This commit is contained in:
parent
a8b8558f08
commit
24d6536be9
2 changed files with 7 additions and 7 deletions
|
@ -277,7 +277,7 @@ pub use self::error::{Error, ErrorKind, Result};
|
||||||
pub use self::stdio::set_output_capture;
|
pub use self::stdio::set_output_capture;
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use self::stdio::{stderr, stdin, stdout, Stderr, Stdin, Stdout};
|
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};
|
pub use self::stdio::{stderr_locked, stdin_locked, stdout_locked};
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use self::stdio::{StderrLock, StdinLock, StdoutLock};
|
pub use self::stdio::{StderrLock, StdinLock, StdoutLock};
|
||||||
|
|
|
@ -347,7 +347,7 @@ pub fn stdin() -> Stdin {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "stdio_locked", issue = "none")]
|
#[unstable(feature = "stdio_locked", issue = "86845")]
|
||||||
pub fn stdin_locked() -> StdinLock<'static> {
|
pub fn stdin_locked() -> StdinLock<'static> {
|
||||||
stdin().into_locked()
|
stdin().into_locked()
|
||||||
}
|
}
|
||||||
|
@ -442,7 +442,7 @@ impl Stdin {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "stdio_locked", issue = "none")]
|
#[unstable(feature = "stdio_locked", issue = "86845")]
|
||||||
pub fn into_locked(self) -> StdinLock<'static> {
|
pub fn into_locked(self) -> StdinLock<'static> {
|
||||||
self.lock_any()
|
self.lock_any()
|
||||||
}
|
}
|
||||||
|
@ -668,7 +668,7 @@ pub fn stdout() -> Stdout {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "stdio_locked", issue = "none")]
|
#[unstable(feature = "stdio_locked", issue = "86845")]
|
||||||
pub fn stdout_locked() -> StdoutLock<'static> {
|
pub fn stdout_locked() -> StdoutLock<'static> {
|
||||||
stdout().into_locked()
|
stdout().into_locked()
|
||||||
}
|
}
|
||||||
|
@ -745,7 +745,7 @@ impl Stdout {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "stdio_locked", issue = "none")]
|
#[unstable(feature = "stdio_locked", issue = "86845")]
|
||||||
pub fn into_locked(self) -> StdoutLock<'static> {
|
pub fn into_locked(self) -> StdoutLock<'static> {
|
||||||
self.lock_any()
|
self.lock_any()
|
||||||
}
|
}
|
||||||
|
@ -945,7 +945,7 @@ pub fn stderr() -> Stderr {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "stdio_locked", issue = "none")]
|
#[unstable(feature = "stdio_locked", issue = "86845")]
|
||||||
pub fn stderr_locked() -> StderrLock<'static> {
|
pub fn stderr_locked() -> StderrLock<'static> {
|
||||||
stderr().into_locked()
|
stderr().into_locked()
|
||||||
}
|
}
|
||||||
|
@ -1005,7 +1005,7 @@ impl Stderr {
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "stdio_locked", issue = "none")]
|
#[unstable(feature = "stdio_locked", issue = "86845")]
|
||||||
pub fn into_locked(self) -> StderrLock<'static> {
|
pub fn into_locked(self) -> StderrLock<'static> {
|
||||||
self.lock_any()
|
self.lock_any()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue