1
Fork 0

stdio_locked: updates based on feedback

Rename methods to `into_locked`. Remove type aliases for owned locks.
This commit is contained in:
Taylor Yu 2021-07-02 15:56:56 -05:00
parent b3db5cd46c
commit c58ceb7a42
3 changed files with 14 additions and 74 deletions

View file

@ -281,8 +281,6 @@ pub use self::stdio::{stderr, stdin, stdout, Stderr, Stdin, Stdout};
pub use self::stdio::{stderr_locked, stdin_locked, stdout_locked};
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::stdio::{StderrLock, StdinLock, StdoutLock};
#[unstable(feature = "stdio_locked", issue = "none")]
pub use self::stdio::{StderrOwnedLock, StdinOwnedLock, StdoutOwnedLock};
#[unstable(feature = "print_internals", issue = "none")]
pub use self::stdio::{_eprint, _print};
#[stable(feature = "rust1", since = "1.0.0")]