-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Stabilize euclidean modulo methods #52547
Conversation
r? @kennytm (rust_highfive has picked a reviewer for you, use r? to override) |
r? @rust-lang/libs Note that the stabilization hasn't been FCP'ed yet. |
This comment has been minimized.
This comment has been minimized.
I don't understand the tidy error. Is it inconsistent between libstd and libcore? |
Oh I see, I forgot to stabilize the methods in |
This comment has been minimized.
This comment has been minimized.
Ok, now can someone explain the tidy error? |
@anirudhb |
Yes, that was my question about whether I should change the feature name of Euclidean modulo to be |
Well the team will make a choice. But if neither action is taken |
OK, for now I'll change the feature name to |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I personally think that |
A case for extending the name could be made, but renaming to |
Or we could go full inconsistency renaming |
@varkor I beg to differ; In terms of renaming |
Okay, since there seems to be further discussion about naming. |
This PR stabilizes the
mod_euc
method on numbers.In the RFC, the feature for
mod_euc
iseuclidean_modulo
. However, it has been implemented aseuclidean_division
. Should I also stabilize the div methods, or changemod_euc
's feature name toeuclidean_modulo
?Closes #49048