Skip to content
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

Add the missing examples to the int trait #23241

Closed
2 tasks
mdinger opened this issue Mar 10, 2015 · 2 comments
Closed
2 tasks

Add the missing examples to the int trait #23241

mdinger opened this issue Mar 10, 2015 · 2 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@mdinger
Copy link
Contributor

mdinger commented Mar 10, 2015

std::num::Int is missing examples for these methods:
- [ ] Int::zero()
- [ ] Int::one()
- [ ] Int::min_value()
- [ ] Int::max_value()

Examples for them should be added.

@kmcallister kmcallister added A-docs E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. labels Mar 10, 2015
@steveklabnik
Copy link
Member

Same as the other ticket: these are currently unstable.

@mdinger
Copy link
Contributor Author

mdinger commented Mar 11, 2015

saturating_add() and saturating_sub() are stable. This should be open.

jbcrail added a commit to jbcrail/rust that referenced this issue Mar 11, 2015
Manishearth added a commit to Manishearth/rust that referenced this issue Mar 20, 2015
bors added a commit that referenced this issue Mar 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

3 participants