Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Rust 2021 edition #7

Merged
merged 2 commits into from
Mar 12, 2022
Merged

Switch to Rust 2021 edition #7

merged 2 commits into from
Mar 12, 2022

Conversation

jaudiger
Copy link
Contributor

I just did the switch to Rust 2021 edition. Feel free to merge it or not. This PR is just here to follow the trend on the adoption of this new Rust edition.

Plus, I remove an extra allocation in the unit tests.

@@ -94,7 +94,7 @@ pub(crate) fn equals_and_hash_code(input: TokenStream) -> TokenStream {
}
}

fn ne(&self, other: &TestNamedStructure#ty_generics) -> bool {
Copy link
Contributor Author

@jaudiger jaudiger Mar 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one was not intended. So I switched it to #name

@sokomishalov sokomishalov merged commit 08889f8 into sokomishalov:master Mar 12, 2022
@sokomishalov
Copy link
Owner

@jaudiger thanks again!

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.

None yet

2 participants