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
Accelerator
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 }}
omMora
/
rust-reference
Public
forked from
rust-lang/reference
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
rust-reference
src
patterns.md
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 8, 2023
Eliminate 'half open' terminology from range pattern grammar
Show description for e844f95
dtolnay
committed
e844f95
View commit details
Copy full SHA for e844f95
View code at this point
Browse repository at this point
Commits on Jan 23, 2023
Fix two more typos
steffahn
committed
894afd4
View commit details
Copy full SHA for 894afd4
View code at this point
Browse repository at this point
Commits on Sep 27, 2022
Address review comments on Range Pattern commit.
isHavvy
committed
6c8431f
View commit details
Copy full SHA for 6c8431f
View code at this point
Browse repository at this point
Commits on Sep 26, 2022
Rewrite Range Patterns with Half Open ranges
Show description for a87587e
isHavvy
committed
a87587e
View commit details
Copy full SHA for a87587e
View code at this point
Browse repository at this point
Commits on Sep 8, 2022
One sentence, one line Patterns chapter
Show description for 7b1240b
isHavvy
committed
7b1240b
View commit details
Copy full SHA for 7b1240b
View code at this point
Browse repository at this point
Commits on Aug 14, 2022
Revert "Unify while/while let and if/if let expressions."
Show description for 4aff5be
compiler-errors
committed
4aff5be
View commit details
Copy full SHA for 4aff5be
View code at this point
Browse repository at this point
Commits on Jul 25, 2022
Unify while/while let and if/if let expressions.
Show description for b83d8e6
ehuss
committed
b83d8e6
View commit details
Copy full SHA for b83d8e6
View code at this point
Browse repository at this point
Commits on May 5, 2022
Don't use PathPattern in RangePattern bounds
Show description for 6ce7804
flodiebold
authored
6ce7804
View commit details
Copy full SHA for 6ce7804
View code at this point
Browse repository at this point
Commits on Apr 7, 2022
Stop defining a separate BOOLEAN_LITERAL token
Show description for e06b267
mattheww
committed
e06b267
View commit details
Copy full SHA for e06b267
View code at this point
Browse repository at this point
Commits on Feb 7, 2022
Update patterns.md
pushkine
authored
037fda0
View commit details
Copy full SHA for 037fda0
View code at this point
Browse repository at this point
Commits on Jan 18, 2022
Update patterns.md
pushkine
authored
9884d5e
View commit details
Copy full SHA for 9884d5e
View code at this point
Browse repository at this point
Update patterns.md
pushkine
authored
edc81fd
View commit details
Copy full SHA for edc81fd
View code at this point
Browse repository at this point
Commits on Dec 3, 2021
Make it clearer that `..=` range patterns work in all editions
mattheww
committed
b83fcc1
View commit details
Copy full SHA for b83fcc1
View code at this point
Browse repository at this point
Say that `...` range patterns are rejected in the 2021 edition
mattheww
committed
4725958
View commit details
Copy full SHA for 4725958
View code at this point
Browse repository at this point
Commits on Sep 17, 2021
Merge pull request #900 from workingjubilee/rangefrom-pat
Show description for df5799c
ehuss
authored
df5799c
View commit details
Copy full SHA for df5799c
View code at this point
Browse repository at this point
Commits on Sep 16, 2021
Update with slice pattern restrictions
workingjubilee
committed
76ed5db
View commit details
Copy full SHA for 76ed5db
View code at this point
Browse repository at this point
Commits on Aug 3, 2021
add spacing in src/patterns.md
Show description for da75d92
workingjubilee
and
ehuss
authored
da75d92
View commit details
Copy full SHA for da75d92
View code at this point
Browse repository at this point
Commits on May 17, 2021
added a comma
MarcusDunn
committed
702bad4
View commit details
Copy full SHA for 702bad4
View code at this point
Browse repository at this point
removed repeated word
MarcusDunn
committed
0ca365f
View commit details
Copy full SHA for 0ca365f
View code at this point
Browse repository at this point
added an example for binding after @
MarcusDunn
committed
6556204
View commit details
Copy full SHA for 6556204
View code at this point
Browse repository at this point
Commits on Apr 6, 2021
Offer example
workingjubilee
committed
51fab18
View commit details
Copy full SHA for 51fab18
View code at this point
Browse repository at this point
More formal writing and links
workingjubilee
committed
abcacb2
View commit details
Copy full SHA for abcacb2
View code at this point
Browse repository at this point
Commits on Mar 28, 2021
remove redundancy
mark-i-m
committed
100fa06
View commit details
Copy full SHA for 100fa06
View code at this point
Browse repository at this point
add a small section about or-pattern precedence and delimiters
mark-i-m
committed
45753be
View commit details
Copy full SHA for 45753be
View code at this point
Browse repository at this point
address review comments
mark-i-m
committed
245b833
View commit details
Copy full SHA for 245b833
View code at this point
Browse repository at this point
Commits on Feb 7, 2021
simplify pattern grammar
mark-i-m
committed
1be55f9
View commit details
Copy full SHA for 1be55f9
View code at this point
Browse repository at this point
Commits on Feb 3, 2021
document or-patterns
mark-i-m
committed
940de70
View commit details
Copy full SHA for 940de70
View code at this point
Browse repository at this point
Commits on Nov 25, 2020
Cleanup formatting
camelid
committed
c996a06
View commit details
Copy full SHA for c996a06
View code at this point
Browse repository at this point
Commits on Nov 12, 2020
Merge pull request #899 from Havvy/tuple
Show description for a7de763
ehuss
authored
a7de763
View commit details
Copy full SHA for a7de763
View code at this point
Browse repository at this point
Commits on Nov 9, 2020
Add RangeFrom patterns
workingjubilee
committed
d845bc3
View commit details
Copy full SHA for d845bc3
View code at this point
Browse repository at this point
Commits on Nov 5, 2020
Referencify tuples
Show description for ff68c99
Havvy
committed
ff68c99
View commit details
Copy full SHA for ff68c99
View code at this point
Browse repository at this point
Commits on Oct 17, 2020
Add `move_ref_pattern` docs
Amjad50
committed
840993a
View commit details
Copy full SHA for 840993a
View code at this point
Browse repository at this point
Commits on Aug 15, 2020
Fix grammar for range pattern not allowed in reference pattern.
ehuss
committed
589c216
View commit details
Copy full SHA for 589c216
View code at this point
Browse repository at this point
Add identifier refutability.
ehuss
committed
4033b60
View commit details
Copy full SHA for 4033b60
View code at this point
Browse repository at this point
Add rest patterns.
ehuss
committed
c0343a7
View commit details
Copy full SHA for c0343a7
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.