Skip to content

Reorder GenericParams so lifetimes come before types#1362

Merged
dtolnay merged 1 commit intomasterfrom
genericorder
Feb 6, 2023
Merged

Reorder GenericParams so lifetimes come before types#1362
dtolnay merged 1 commit intomasterfrom
genericorder

Conversation

@dtolnay
Copy link
Copy Markdown
Owner

@dtolnay dtolnay commented Feb 6, 2023

This matches the order in the Rust Reference. It also matches the order these parameters are required to appear in source code — makes sense.

https://doc.rust-lang.org/1.67.0/reference/items/generics.html

@dtolnay dtolnay merged commit 7e7b185 into master Feb 6, 2023
@dtolnay dtolnay deleted the genericorder branch February 6, 2023 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant