We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4a6032 commit ed8a775Copy full SHA for ed8a775
library/std/src/io/impls.rs
@@ -87,6 +87,11 @@ impl<S: Seek + ?Sized> Seek for &mut S {
87
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
88
(**self).seek(pos)
89
}
90
+
91
+ #[inline]
92
+ fn stream_position(&mut self) -> io::Result<u64> {
93
+ (**self).stream_position()
94
+ }
95
96
#[stable(feature = "rust1", since = "1.0.0")]
97
impl<B: BufRead + ?Sized> BufRead for &mut B {
@@ -186,6 +191,11 @@ impl<S: Seek + ?Sized> Seek for Box<S> {
186
191
187
192
188
193
194
195
196
197
198
189
199
190
200
201
impl<B: BufRead + ?Sized> BufRead for Box<B> {
0 commit comments