Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16.9k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Implement nonzero arithmetics for NonZero types.
- #82703
#82703
Merged
bors
merged 18 commits into
rust-lang:master
rust-lang/rust:master
from
iago-lito:nonzero_add_mul_pow
Copy head branch name to clipboard
Jun 12, 2021
Conversation
Commits
18
(18)
Checks
Files changed
Merged
Implement nonzero arithmetics for NonZero types.
#82703
bors
merged 18 commits into
rust-lang:master
rust-lang/rust:master
from
iago-lito:nonzero_add_mul_pow
Copy head branch name to clipboard
Commits
Commits on Jun 9, 2021
NonZero checked_add.
iago-lito
committed
832c7f5
View commit details
Copy full SHA for 832c7f5
Browse repository at this point
NonZero saturating_add.
iago-lito
committed
a67d605
View commit details
Copy full SHA for a67d605
Browse repository at this point
NonZero unchecked_add.
iago-lito
committed
a3e1c35
View commit details
Copy full SHA for a3e1c35
Browse repository at this point
NonZero checked_next_power_of_two.
iago-lito
committed
f7a1a9d
View commit details
Copy full SHA for f7a1a9d
Browse repository at this point
NonZero abs.
iago-lito
committed
a433b06
View commit details
Copy full SHA for a433b06
Browse repository at this point
NonZero checked_abs.
iago-lito
committed
62f97d9
View commit details
Copy full SHA for 62f97d9
Browse repository at this point
NonZero overflowing_abs.
iago-lito
committed
6083b0a
View commit details
Copy full SHA for 6083b0a
Browse repository at this point
NonZero saturating_abs.
iago-lito
committed
65e7321
View commit details
Copy full SHA for 65e7321
Browse repository at this point
NonZero wrapping_abs.
iago-lito
committed
b6589bb
View commit details
Copy full SHA for b6589bb
Browse repository at this point
NonZero unsigned_abs.
iago-lito
committed
7e7b316
View commit details
Copy full SHA for 7e7b316
Browse repository at this point
NonZero checked_mul.
iago-lito
committed
ac3eb90
View commit details
Copy full SHA for ac3eb90
Browse repository at this point
NonZero saturating_mul.
iago-lito
committed
7e0b9a8
View commit details
Copy full SHA for 7e0b9a8
Browse repository at this point
NonZero unchecked_mul.
iago-lito
committed
6979bb4
View commit details
Copy full SHA for 6979bb4
Browse repository at this point
NonZero checked_pow.
iago-lito
committed
7b37800
View commit details
Copy full SHA for 7b37800
Browse repository at this point
NonZero saturating_pow.
iago-lito
committed
b8056d8
View commit details
Copy full SHA for b8056d8
Browse repository at this point
Explicit what `check` means on concerned method.
iago-lito
committed
3c168b0
View commit details
Copy full SHA for 3c168b0
Browse repository at this point
Fix diverging doc regarding signedness.
iago-lito
committed
d442c10
View commit details
Copy full SHA for d442c10
Browse repository at this point
Commits on Jun 12, 2021
Stop relying on #[feature(try_trait)] in doctests.
iago-lito
committed
7afdaf2
View commit details
Copy full SHA for 7afdaf2
Browse repository at this point
You can’t perform that action at this time.