Rollup merge of #22778 - mzabaluev:leftover-lifetime, r=alexcrichton
This commit is contained in:
commit
b711b6a5b2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue