We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
std::num::Int is missing examples for these methods: - [ ] Int::zero() - [ ] Int::one() - [ ] Int::min_value() - [ ] Int::max_value()
std::num::Int
Int::zero()
Int::one()
Int::min_value()
Int::max_value()
Int::saturating_add()
Int::saturating_sub()
Examples for them should be added.
The text was updated successfully, but these errors were encountered:
Same as the other ticket: these are currently unstable.
Sorry, something went wrong.
saturating_add() and saturating_sub() are stable. This should be open.
saturating_add()
saturating_sub()
Add docs for saturating integer arithmetic.
62be565
This was added for rust-lang#23241.
Rollup merge of rust-lang#23254 - jbcrail:saturating-math-docs, r=ste…
4294327
…veklabnik This was added for rust-lang#23241.
Auto merge of #23254 - jbcrail:saturating-math-docs, r=steveklabnik
e98e391
This was added for #23241.
No branches or pull requests
std::num::Int
is missing examples for these methods:- [ ]Int::zero()
- [ ]Int::one()
- [ ]Int::min_value()
- [ ]Int::max_value()
Int::saturating_add()
Int::saturating_sub()
Examples for them should be added.
The text was updated successfully, but these errors were encountered: