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
Events
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
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.