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 }}
zxscn
/
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
reference
src
types.md
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 28, 2026
Split the textual chapter in two
Show description for d0e97b0
ehuss
authored and
traviscross
committed
d0e97b0
View commit details
Copy full SHA for d0e97b0
View code at this point
Browse repository at this point
Commits on Jan 26, 2026
Unwrap items, expressions, patterns, and types
Show description for 49115e0
ehuss
committed
49115e0
View commit details
Copy full SHA for 49115e0
View code at this point
Browse repository at this point
Commits on Oct 25, 2025
Move types redirect to book.toml
Show description for e1cbc45
ehuss
committed
e1cbc45
View commit details
Copy full SHA for e1cbc45
View code at this point
Browse repository at this point
Commits on Jun 11, 2025
Convert remaining grammar rule references to links
Show description for 1eb544a
ehuss
committed
1eb544a
View commit details
Copy full SHA for 1eb544a
View code at this point
Browse repository at this point
Commits on Apr 13, 2025
Convert all of the grammar to use the new grammar renderer
ehuss
committed
3a2ea7e
View commit details
Copy full SHA for 3a2ea7e
View code at this point
Browse repository at this point
Commits on Apr 10, 2025
Add some missing Syntax markers
ehuss
committed
8d1e7bd
View commit details
Copy full SHA for 8d1e7bd
View code at this point
Browse repository at this point
Commits on Jan 8, 2025
Move heading-related rules before headings
Show description for 5a14e3e
WaffleLapkin
committed
5a14e3e
View commit details
Copy full SHA for 5a14e3e
View code at this point
Browse repository at this point
Commits on Sep 19, 2024
Add identifier syntax to types and subchapters.
chorman0773
committed
499a5ed
View commit details
Copy full SHA for 499a5ed
View code at this point
Browse repository at this point
Commits on Jul 1, 2024
Enable mdbook smart-punctuation.
ehuss
committed
62715cf
View commit details
Copy full SHA for 62715cf
View code at this point
Browse repository at this point
Commits on Jun 21, 2022
Remove outdated restriction on recursive types
Jonas Schievink
committed
b5596cb
View commit details
Copy full SHA for b5596cb
View code at this point
Browse repository at this point
Commits on Dec 17, 2021
keep consistent for primitive types
junnplus
committed
577d497
View commit details
Copy full SHA for 577d497
View code at this point
Browse repository at this point
Commits on Sep 3, 2019
Fix #664: Review Oxford comma usage.
Show description for af1cf6d
hawkinsw
committed
af1cf6d
View commit details
Copy full SHA for af1cf6d
View code at this point
Browse repository at this point
Commits on Jul 15, 2019
Update to mdbook 0.3.
Show description for b0e0ad6
ehuss
committed
b0e0ad6
View commit details
Copy full SHA for b0e0ad6
View code at this point
Browse repository at this point
Commits on Nov 5, 2018
Move Inferred Types and Type Parameters to their own pages.
ehuss
committed
eb02dd5
View commit details
Copy full SHA for eb02dd5
View code at this point
Browse repository at this point
Minor review edits.
ehuss
committed
18f1418
View commit details
Copy full SHA for 18f1418
View code at this point
Browse repository at this point
Split Types Chapter
Show description for 0a15f29
ehuss
committed
0a15f29
View commit details
Copy full SHA for 0a15f29
View code at this point
Browse repository at this point
Commits on Nov 3, 2018
Grammar: macros
ehuss
committed
0c12690
View commit details
Copy full SHA for 0c12690
View code at this point
Browse repository at this point
Commits on Oct 14, 2018
Grammar: FunctionFront -> FunctionQualifiers
Havvy
committed
4e9fba7
View commit details
Copy full SHA for 4e9fba7
View code at this point
Browse repository at this point
Commits on Oct 6, 2018
Add 2018 edition keywords.
ehuss
committed
d8135e4
View commit details
Copy full SHA for d8135e4
View code at this point
Browse repository at this point
Address review comments.
ehuss
committed
4c862cc
View commit details
Copy full SHA for 4c862cc
View code at this point
Browse repository at this point
Finish BareFunctionType parameter grammar.
ehuss
committed
0180414
View commit details
Copy full SHA for 0180414
View code at this point
Browse repository at this point
Grammar: types
ehuss
committed
95fe7d2
View commit details
Copy full SHA for 95fe7d2
View code at this point
Browse repository at this point
Commits on Sep 23, 2018
Fix some minor grammar formatting errors.
ehuss
committed
3dd7abc
View commit details
Copy full SHA for 3dd7abc
View code at this point
Browse repository at this point
Commits on Sep 1, 2018
moved bool out of numeric types
JoshBrudnak
committed
fe98528
View commit details
Copy full SHA for fe98528
View code at this point
Browse repository at this point
Formatted lines that passed 80 chars in types.md
JoshBrudnak
committed
3955fe3
View commit details
Copy full SHA for 3955fe3
View code at this point
Browse repository at this point
Add section on the boolean type #238
JoshBrudnak
committed
fa72371
View commit details
Copy full SHA for fa72371
View code at this point
Browse repository at this point
Commits on Aug 9, 2018
Fix typo
petertodd
committed
fc5717e
View commit details
Copy full SHA for fc5717e
View code at this point
Browse repository at this point
Commits on Aug 2, 2018
Fix some broken links.
ehuss
committed
6798bfe
View commit details
Copy full SHA for 6798bfe
View code at this point
Browse repository at this point
Commits on Jul 15, 2018
Add a "capture modes" heading and link from corresponding text.
crlf0710
committed
14345fb
View commit details
Copy full SHA for 14345fb
View code at this point
Browse repository at this point
Commits on Jun 24, 2018
Use backslash instead of whitespace for hard breaks.
Show description for 855df8a
ehuss
committed
855df8a
View commit details
Copy full SHA for 855df8a
View code at this point
Browse repository at this point
Commits on Jun 19, 2018
Merge pull request #336 from Havvy/warning-css
Show description for 613efe8
QuietMisdreavus
authored
613efe8
View commit details
Copy full SHA for 613efe8
View code at this point
Browse repository at this point
Commits on Jun 12, 2018
Split argument/return impl-trait
Havvy
committed
1812f47
View commit details
Copy full SHA for 1812f47
View code at this point
Browse repository at this point
Placeholder docs for impl Trait
Havvy
committed
8ee5e63
View commit details
Copy full SHA for 8ee5e63
View code at this point
Browse repository at this point
Commits on Jun 11, 2018
Change warnings from blockquotes to divs
Havvy
committed
e9d9afa
View commit details
Copy full SHA for e9d9afa
View code at this point
Browse repository at this point
Commits on Jun 9, 2018
Remove auto traits not deduped warning
Havvy
committed
0fe855b
View commit details
Copy full SHA for 0fe855b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.