std::io::BufReader: remove leftover lifetime parameter on get_ref()

This commit is contained in:
Mikhail Zabaluev 2015-02-24 09:13:08 +02:00
parent 2890508d97
commit 23f5a8f82d

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.
///