From bdaf23b4cd13dd39cebf1756686f581d6040df37 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Fri, 14 Mar 2025 12:19:04 +0100 Subject: [PATCH] Forward `stream_position` in `Arc` as well It was missed in #137165. --- library/std/src/fs.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index f9a360585e852..7fc010d2ec3fb 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -1343,6 +1343,9 @@ impl Seek for Arc { fn seek(&mut self, pos: SeekFrom) -> io::Result { (&**self).seek(pos) } + fn stream_position(&mut self) -> io::Result { + (&**self).stream_position() + } } impl OpenOptions {