-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Stabilise rotate_left
and rotate_right
in [_]
as const fn
items.
#146841
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
base: master
Are you sure you want to change the base?
Conversation
@rustbot label +T-libs-api -T-libs needs-fcp r? libs-api |
We usually nominate for discussion rather than requesting a libs-api reviewer nowadays r? libs |
Why do |
I don't remember why I named them like that. Probably not intentional |
FCP started in #143812 |
I think it's fine to add a commit updating the argument names here, since that's effectively just a documentation change. |
It's because the one taking
(At least IIRC that's why I wrote them this way -- note that the very earliest version of this was just I would suggest not putting a parameter change in this PR, though. If this is just const-stabilizing, which should be uncontroversial, keep it to just that. Let any approval conversation about parameter names be in a different PR. |
rotate_left
and rotate_right
in [_]
.rotate_left
and rotate_right
as const in [_]
.
rotate_left
and rotate_right
as const in [_]
.rotate_left
and rotate_right
in [_]
as const fn
items.
rotate_left
and rotate_right
in [_]
as const fn
items.rotate_left
and rotate_right
in [_]
as const fn
items.
Closes: #143812.
This PR stabilises the
const_slice_rotate
feature:No blockers or unresolved questions. FCP required.
Courtesy of @okaneco.