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.4k
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
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.