Move std::io::util to core::io#156431
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.
0b02f63 to
929f2a3
Compare
This comment has been minimized.
This comment has been minimized.
929f2a3 to
46f50fb
Compare
This comment has been minimized.
This comment has been minimized.
46f50fb to
72ca658
Compare
|
Reminder, once the PR becomes ready for a review, use |
72ca658 to
5cbf9f8
Compare
|
@rustbot ready Pending CI passing, which I expect it to due to the minor nature of the changes involved. |
|
@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)
|
@rust-timer build 7a40b5e |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (7a40b5e): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never 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 -2.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.1%, secondary 4.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 4.4%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 510.527s -> 523.299s (2.50%) |
View all comments
ACP: rust-lang/libs-team#755
Tracking issue: #154046
Subset of: #154684
Description
Moves utility types and functions from
std::io::utilandstd::iotocore::io, leaving any IO trait implementations behind. They will be moved along with the traits themselves. Certain documentation links had to be amended.ChainEmptyRepeatSinkTakeemptyrepeatsinkNotes
alloc::ioandcore::io#154046.ChainandTakewere previously in the mainmod.rsfile forstd::io, but I've chosen to move them into theutil.rsfile incore::ioinstead. I think they make more sense in that file, but I'm happy to move them intomod.rsif that's a controversial decision.