-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename MaybeUninit::write_slice #116385
Rename MaybeUninit::write_slice #116385
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #117736) made this pull request unmergeable. Please resolve the merge conflicts. |
625d8f2
to
da3db9a
Compare
r? libs-api |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ae9d7b0): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 639.642s -> 638.61s (-0.16%) |
To follow API update[1], change MaybeUninit::write_slice() to copy_from_slice(). [1]: rust-lang/rust#116385
A step to push #79995 forward.
rust-lang/libs-team#122 also suggested to make them inherent methods, but they can't be — they'd conflict with slice's regular methods.