Skip to content

Commit 9f7cc64

Browse files
committed
Forward stream_position in Arc<File> as well
It was missed in rust-lang#137165.
1 parent 0b766fc commit 9f7cc64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: std/src/fs.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1343,6 +1343,9 @@ impl Seek for Arc<File> {
13431343
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
13441344
(&**self).seek(pos)
13451345
}
1346+
fn stream_position(&mut self) -> io::Result<u64> {
1347+
(&**self).stream_position()
1348+
}
13461349
}
13471350

13481351
impl OpenOptions {

0 commit comments

Comments
 (0)