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.8k
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
Clarify pattern-matching usefulness algorithm
- #65874
#65874
Merged
bors
merged 17 commits into
rust-lang:master
rust-lang/rust:master
from
Nadrieril:clarify-usefulness
Nadrieril/rust:clarify-usefulness
Copy head branch name to clipboard
Nov 5, 2019
Conversation
Commits
17
(17)
Checks
Files changed
Merged
Clarify pattern-matching usefulness algorithm
#65874
bors
merged 17 commits into
rust-lang:master
rust-lang/rust:master
from
Nadrieril:clarify-usefulness
Nadrieril/rust:clarify-usefulness
Copy head branch name to clipboard
Commits
Commits on Oct 27, 2019
Run `rustfmt`
Nadrieril
committed
a5de5a6
View commit details
Copy full SHA for a5de5a6
Browse repository at this point
tidy
Nadrieril
committed
af35934
View commit details
Copy full SHA for af35934
Browse repository at this point
Remove mention of old slice pattern syntax
Nadrieril
committed
7986599
View commit details
Copy full SHA for 7986599
Browse repository at this point
Clarify and fix the explanation of the algorithm
Show description for 2665b64
Nadrieril
committed
2665b64
View commit details
Copy full SHA for 2665b64
Browse repository at this point
Commits on Nov 1, 2019
Abstract out pattern stacks to make the code more legible
Nadrieril
committed
403d6bd
View commit details
Copy full SHA for 403d6bd
Browse repository at this point
Factor out some pattern-stack related functions
Nadrieril
committed
23ca38e
View commit details
Copy full SHA for 23ca38e
Browse repository at this point
Remove some redundancy
Nadrieril
committed
5e734be
View commit details
Copy full SHA for 5e734be
Browse repository at this point
Remove duplicate logic in compute_missing_constructors
Show description for 0c02c19
Nadrieril
committed
0c02c19
View commit details
Copy full SHA for 0c02c19
Browse repository at this point
Extract constructor application as a Constructor method
Nadrieril
committed
b454581
View commit details
Copy full SHA for b454581
Browse repository at this point
Refactor "wild constructor" construction
Nadrieril
committed
175976e
View commit details
Copy full SHA for 175976e
Browse repository at this point
Clarify some variable names
Nadrieril
committed
57a656a
View commit details
Copy full SHA for 57a656a
Browse repository at this point
`specialize` conceptually operates on a single pattern
Nadrieril
committed
d663c27
View commit details
Copy full SHA for d663c27
Browse repository at this point
Wording
Nadrieril
committed
cc4583d
View commit details
Copy full SHA for cc4583d
Browse repository at this point
Define a MissingConstructors struct for cleanliness
Nadrieril
committed
92101b7
View commit details
Copy full SHA for 92101b7
Browse repository at this point
Factor out constructor subtraction
Nadrieril
committed
b7fa9f1
View commit details
Copy full SHA for b7fa9f1
Browse repository at this point
Factor out witness reconstruction
Nadrieril
committed
8956c1e
View commit details
Copy full SHA for 8956c1e
Browse repository at this point
Clarifications suggested by varkor
Nadrieril
committed
a96d700
View commit details
Copy full SHA for a96d700
Browse repository at this point
You can’t perform that action at this time.