Skip to content

Commit b711b6a

Browse files
committed
Rollup merge of #22778 - mzabaluev:leftover-lifetime, r=alexcrichton
2 parents 2408698 + 23f5a8f commit b711b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/buffered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl<R: Read> BufReader<R> {
4848
}
4949

5050
/// Gets a reference to the underlying reader.
51-
pub fn get_ref<'a>(&self) -> &R { &self.inner }
51+
pub fn get_ref(&self) -> &R { &self.inner }
5252

5353
/// Gets a mutable reference to the underlying reader.
5454
///

0 commit comments

Comments
 (0)