1
Fork 0

Rollup merge of #138490 - tbu-:pr_arc_file_pos, r=Noratrieb

Forward `stream_position` in `Arc<File>` as well

It was missed in #137165.
This commit is contained in:
Matthias Krüger 2025-03-22 11:59:16 +01:00 committed by GitHub
commit 07c503c3e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1343,6 +1343,9 @@ impl Seek for Arc<File> {
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
(&**self).seek(pos)
}
fn stream_position(&mut self) -> io::Result<u64> {
(&**self).stream_position()
}
}
impl OpenOptions {