Move std::io::Cursor to core::io#156428
Conversation
|
r? @nia-e rustbot has assigned @nia-e. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
827de72 to
7999e21
Compare
|
Reminder, once the PR becomes ready for a review, use |
7999e21 to
e9125c6
Compare
|
@rustbot ready Pending CI passing, but only added a |
|
@bors r+ |
…uwer Rollup of 6 pull requests Successful merges: - #156287 (move more compiler crates away from `box_patterns` ) - #156428 (Move `std::io::Cursor` to `core::io`) - #156431 (Move `std::io::util` to `core::io`) - #156145 (Move tests cast) - #156284 (resolve: Fix a false positive "cannot reexport" error for ambiguous glob sets) - #156502 (Give an example of a Ctor in the doc-comments)
…uwer Rollup of 6 pull requests Successful merges: - #156287 (move more compiler crates away from `box_patterns` ) - #156428 (Move `std::io::Cursor` to `core::io`) - #156431 (Move `std::io::util` to `core::io`) - #156145 (Move tests cast) - #156284 (resolve: Fix a false positive "cannot reexport" error for ambiguous glob sets) - #156502 (Give an example of a Ctor in the doc-comments)
Rollup merge of #156428 - bushrat011899:core_io_cursor, r=nia-e Move `std::io::Cursor` to `core::io` ACP: rust-lang/libs-team#755 Tracking issue: #154046 Subset of: #154684 ## Description Moves `std::io::Cursor` to `core::io`, leaving the IO trait implementations behind. They will be moved along with the traits themselves. Certain documentation links had to be amended, and a private/unstable `into_parts_mut` method was added to allow the internals to remain private. --- ## Notes * This can be reviewed independently of the other PRs tracked in #154046. * No AI tooling of any kind was used during the creation of this PR.
|
@rust-timer build 4430d4c |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4430d4c): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -1.5%, secondary 0.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -1.9%, secondary 3.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 510.527s -> 508.357s (-0.43%) |
View all comments
ACP: rust-lang/libs-team#755
Tracking issue: #154046
Subset of: #154684
Description
Moves
std::io::Cursortocore::io, leaving the IO trait implementations behind. They will be moved along with the traits themselves. Certain documentation links had to be amended, and a private/unstableinto_parts_mutmethod was added to allow the internals to remain private.Notes
alloc::ioandcore::io#154046.