doc: missed these in a4da9ac

This commit is contained in:
Tshepang Lekhonkhobe 2015-12-30 21:01:42 +02:00
parent efb5a9a9f0
commit c779e7b782

View File

@ -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()) }