Skip to content

Set default edition to "2018" #10

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

Merged
merged 1 commit into from
Jan 16, 2020
Merged

Conversation

codesections
Copy link
Contributor

Thanks for this project!

This minor PR adds a line to the Cargo.toml config file that tells Rust to use the 2018-Edition version of the language (which has a few minor changes from the 2015 version that is used without that line). This is probably the behavior most users expect in 2020 (and is part of the default configuration generated by cargo init).

I would normally have opened an issue before submitting a PR but, since you mentioned that this project is not a high priority and because this change was so minor, I decided to make an exception in this case—apologies if you would have preferred an issue.

@grafov grafov merged commit 5a11778 into grafov:master Jan 16, 2020
@grafov
Copy link
Owner

grafov commented Jan 16, 2020

Thank you @codesections!

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.

2 participants