Commit d820eab
committed
Auto merge of #138023 - melrief:97227_impl_Seek_for_Take, r=tgross35
Add `std::io::Seek` instance for `std::io::Take`
Library tracking issue [#97227](rust-lang/rust#97227).
ACP: rust-lang/libs-team#555
1. add a `len` field to `Take` to keep track of the original number of bytes that `Take` could read
2. add a `position()` method to return the current position of the cursor inside `Take`
3. implement `std::io::Seek` for `std::io::Take`
Closes: rust-lang/libs-team#555File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments