diff options
| author | bors <bors@rust-lang.org> | 2025-05-19 19:28:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-05-19 19:28:16 +0000 |
| commit | 60dabef95a3de3ec974dcb50926e4bfe743f078f (patch) | |
| tree | e226c8ffc712c0647bd3b1e0e6985c79409791e2 /compiler/rustc_pattern_analysis/src | |
| parent | 59372f2c81ba74554d9a71b12a4ed7f29adb33a2 (diff) | |
| parent | c8f5ff867d2fee553c4c0c6401aae170be3ece19 (diff) | |
| download | rust-60dabef95a3de3ec974dcb50926e4bfe743f078f.tar.gz rust-60dabef95a3de3ec974dcb50926e4bfe743f078f.zip | |
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](https://github.com/rust-lang/rust/issues/97227). ACP: https://github.com/rust-lang/libs-team/issues/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: https://github.com/rust-lang/libs-team/issues/555
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
