Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
1.4k
(1.4k)
Actions
Projects
Security and quality
6
(6)
Insights
More
items
Move numeric consts to associated consts
- #67913
#67913
Closed
faern
wants to merge 15 commits into
rust-lang:master
rust-lang/rust:master
from
faern:move-numeric-consts-to-associated-consts
faern/rust:move-numeric-consts-to-associated-consts
Copy head branch name to clipboard
Conversation
Commits
15
(15)
Checks
Files changed
Closed
Move numeric consts to associated consts
#67913
faern
wants to merge 15 commits into
rust-lang:master
rust-lang/rust:master
from
faern:move-numeric-consts-to-associated-consts
faern/rust:move-numeric-consts-to-associated-consts
Copy head branch name to clipboard
Commits
Commits on Jan 6, 2020
Deprecate min_value() and max_value() for all integers
faern
committed
f5e0f4d
View commit details
Copy full SHA for f5e0f4d
Browse repository at this point
Deprecate MIN/MAX constants in integer modules
faern
committed
5450cc7
View commit details
Copy full SHA for 5450cc7
Browse repository at this point
Deprecate all integer modules
faern
committed
3afdf3f
View commit details
Copy full SHA for 3afdf3f
Browse repository at this point
Add MIN/MAX associated constants to all integer types
faern
committed
8fbd3ad
View commit details
Copy full SHA for 8fbd3ad
Browse repository at this point
Don't mention interger modules on primitive docs
faern
committed
c127d8f
View commit details
Copy full SHA for c127d8f
Browse repository at this point
Replace all usages of min_value/max_value with assoc const MIN/MAX
faern
committed
5f687fb
View commit details
Copy full SHA for 5f687fb
Browse repository at this point
Remove usage of module level MAX/MIN constants
faern
committed
7bb3a45
View commit details
Copy full SHA for 7bb3a45
Browse repository at this point
Add associated constants on floats, deprecate same module level consts
faern
committed
57ad77b
View commit details
Copy full SHA for 57ad77b
Browse repository at this point
Use float associated constants
faern
committed
252c5f4
View commit details
Copy full SHA for 252c5f4
Browse repository at this point
TMP (can be improved): Don't import integer modules
faern
committed
e6e7694
View commit details
Copy full SHA for e6e7694
Browse repository at this point
Allow deprecated in test specifically for primitive vs module fallback
faern
committed
5a5c904
View commit details
Copy full SHA for 5a5c904
Browse repository at this point
up to 42 on num/mod
faern
committed
32cfeef
View commit details
Copy full SHA for 32cfeef
Browse repository at this point
Remove invalid import
Show description for b3546c5
faern
and
tesuji
committed
b3546c5
View commit details
Copy full SHA for b3546c5
Browse repository at this point
Remove superfluous <> around usize
Show description for c73af28
faern
and
tesuji
committed
c73af28
View commit details
Copy full SHA for c73af28
Browse repository at this point
Use cmp::min instead of manual if-else
Show description for ab389e5
faern
and
tesuji
committed
ab389e5
View commit details
Copy full SHA for ab389e5
Browse repository at this point
You can’t perform that action at this time.