-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Tracking Issue for negation methods on NonZeroI*
#102443
Comments
(pinging someone from the libs team, per instructions at https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html) @joshtriplett I'd like to start the FCP for this feature. The new methods have been in nightly since v1.66, and the the stabilization PR for |
Timed out waiting for someone to start the FCP -- since there's not much to discuss regarding the API (it just copies the primitive types), I sent in PR #111044 to stabilize. |
@rfcbot fcp merge This is a small collection of negation methods on the |
Team member @BurntSushi has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
Sorry for being a bit late to the show but I just found this via TWIR. What is the rational for leaving out an
|
Thanks for the catch! I just didn't see that |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
Feature gate:
#![feature(nonzero_negation_ops)]
This is a tracking issue for adding negation methods such as
wrapping_neg()
to thecore::num::NonZeroI{8,16,32,64,128}
types.ACP: rust-lang/libs-team#105
Public API
Steps / History
is_positive
method for signed non-zero integers. #111186nonzero_negation_ops
#111044Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: