mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
doc: missed these in a4da9ac
This commit is contained in:
parent
efb5a9a9f0
commit
c779e7b782
@ -231,8 +231,8 @@ impl Stdin {
|
||||
/// returned guard also implements the [`Read`] and [`BufRead`] traits for
|
||||
/// accessing the underlying data.
|
||||
///
|
||||
/// [Read]: trait.Read.html
|
||||
/// [BufRead]: trait.BufRead.html
|
||||
/// [`Read`]: trait.Read.html
|
||||
/// [`BufRead`]: trait.BufRead.html
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub fn lock(&self) -> StdinLock {
|
||||
StdinLock { inner: self.inner.lock().unwrap_or_else(|e| e.into_inner()) }
|
||||
|
Loading…
Reference in New Issue
Block a user