We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b397da7 commit f4407feCopy full SHA for f4407fe
library/std/src/io/mod.rs
@@ -3117,6 +3117,14 @@ impl<T: Seek> Seek for Take<T> {
3117
Ok(self.position())
3118
}
3119
3120
+
3121
+ fn stream_len(&mut self) -> Result<u64> {
3122
+ Ok(self.len)
3123
+ }
3124
3125
+ fn stream_position(&mut self) -> Result<u64> {
3126
+ Ok(self.position())
3127
3128
3129
3130
/// An iterator over `u8` values of a reader.
0 commit comments