1
Fork 0

Rollup merge of #22778 - mzabaluev:leftover-lifetime, r=alexcrichton

This commit is contained in:
Manish Goregaokar 2015-02-25 03:21:50 +05:30
commit b711b6a5b2

View file

@ -48,7 +48,7 @@ impl<R: Read> BufReader<R> {
}
/// Gets a reference to the underlying reader.
pub fn get_ref<'a>(&self) -> &R { &self.inner }
pub fn get_ref(&self) -> &R { &self.inner }
/// Gets a mutable reference to the underlying reader.
///