mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
std::io::BufReader: remove leftover lifetime parameter on get_ref()
This commit is contained in:
parent
2890508d97
commit
23f5a8f82d
@ -48,7 +48,7 @@ impl<R: Read> BufReader<R> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Gets a reference to the underlying reader.
|
/// 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.
|
/// Gets a mutable reference to the underlying reader.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user