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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
reference
Public
Notifications
You must be signed in to change notification settings
Fork
607
Star
1.6k
Code
Issues
313
Pull requests
121
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Rearrange the generics chapter
- #2165
#2165
Open
ehuss
wants to merge 24 commits into
rust-lang:master
rust-lang/reference:master
from
ehuss:generics
ehuss/reference:generics
Copy head branch name to clipboard
Conversation
Commits
24
(24)
Checks
Files changed
Open
Rearrange the generics chapter
#2165
ehuss
wants to merge 24 commits into
rust-lang:master
rust-lang/reference:master
from
ehuss:generics
ehuss/reference:generics
Copy head branch name to clipboard
Commits
Commits on Jun 20, 2026
Move items/generics in preparation for generics restructuring
Show description for 33049eb
ehuss
committed
33049eb
View commit details
Copy full SHA for 33049eb
Browse repository at this point
Update generic rule names after move
ehuss
committed
6cbfbf4
View commit details
Copy full SHA for 6cbfbf4
Browse repository at this point
Update links to generics chapter after move
ehuss
committed
d94ed46
View commit details
Copy full SHA for d94ed46
Browse repository at this point
Update generic parameters to fit into the chapter
Show description for ac7e286
ehuss
committed
ac7e286
View commit details
Copy full SHA for ac7e286
Browse repository at this point
Move where clause to the bounds chapter
Show description for ab799c6
ehuss
committed
ab799c6
View commit details
Copy full SHA for ab799c6
Browse repository at this point
Move intro to the top
Show description for a8e4928
ehuss
committed
a8e4928
View commit details
Copy full SHA for a8e4928
Browse repository at this point
Move generic args to the generics chapter
Show description for a35bdd4
ehuss
committed
a35bdd4
View commit details
Copy full SHA for a35bdd4
Browse repository at this point
Rewrite the paths in expressions intro
Show description for cb7b686
ehuss
committed
cb7b686
View commit details
Copy full SHA for cb7b686
Browse repository at this point
Add an introduction to the generics chapter
Show description for 22a806b
ehuss
committed
22a806b
View commit details
Copy full SHA for 22a806b
Browse repository at this point
Rewrite generics.arguments.intro
Show description for a339afe
ehuss
committed
a339afe
View commit details
Copy full SHA for a339afe
Browse repository at this point
Add a dedicated section for generic const arguments
Show description for f1c6afe
ehuss
committed
f1c6afe
View commit details
Copy full SHA for f1c6afe
Browse repository at this point
Move const argument rules into the const arguments section
Show description for d0ef939
ehuss
committed
d0ef939
View commit details
Copy full SHA for d0ef939
Browse repository at this point
Move generics.const.type-ambiguity to the generic const arguments section
Show description for 50ab000
ehuss
committed
50ab000
View commit details
Copy full SHA for 50ab000
Browse repository at this point
Add "argument ordering and matching"
Show description for d51cca3
ehuss
committed
d51cca3
View commit details
Copy full SHA for d51cca3
Browse repository at this point
Add a section on inferred generic arguments
Show description for 6776a0d
ehuss
committed
6776a0d
View commit details
Copy full SHA for 6776a0d
Browse repository at this point
Add "associated item constraints"
Show description for 2be65df
ehuss
committed
2be65df
View commit details
Copy full SHA for 2be65df
Browse repository at this point
Fix generic attributes rule
Show description for 4ab7e3a
ehuss
committed
4ab7e3a
View commit details
Copy full SHA for 4ab7e3a
Browse repository at this point
Add an example for const generics
ehuss
committed
5c95dd0
View commit details
Copy full SHA for 5c95dd0
Browse repository at this point
Move examples into example blocks
ehuss
committed
e8a624a
View commit details
Copy full SHA for e8a624a
Browse repository at this point
Document attributes on generic parameters
Show description for de92bf1
ehuss
committed
de92bf1
View commit details
Copy full SHA for de92bf1
Browse repository at this point
Move "Infer arguments" up into the arguments section
ehuss
committed
b796d96
View commit details
Copy full SHA for b796d96
Browse repository at this point
Move generic constants to a dedicated chapter
ehuss
committed
64993c8
View commit details
Copy full SHA for 64993c8
Browse repository at this point
Add a dedicated chapter for generic lifetimes
Show description for 8735602
ehuss
committed
8735602
View commit details
Copy full SHA for 8735602
Browse repository at this point
Add a dedicated chapter for generic types
Show description for e304481
ehuss
committed
e304481
View commit details
Copy full SHA for e304481
Browse repository at this point
You can’t perform that action at this time.