Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b578692

Browse files
authoredMar 22, 2025
Rollup merge of rust-lang#138490 - tbu-:pr_arc_file_pos, r=Noratrieb
Forward `stream_position` in `Arc<File>` as well It was missed in rust-lang#137165.
2 parents 2881e78 + bdaf23b commit b578692

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎library/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)
Please sign in to comment.