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

Fixed info about default edition #7926

Closed
wants to merge 1 commit into from
Closed

Fixed info about default edition #7926

wants to merge 1 commit into from

Conversation

akshatagarwl
Copy link

No description provided.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 24, 2020
@akshatagarwl akshatagarwl reopened this Feb 24, 2020
@ehuss
Copy link
Contributor

ehuss commented Feb 24, 2020

The default is 2015. Perhaps there is some confusion because cargo new auto-populates it with the latest edition?

@akshatagarwl
Copy link
Author

akshatagarwl commented Feb 24, 2020

@ehuss So if I am understanding this correctly, If I don't add the "edition" label in the Cargo.toml file it will be set to '2015' by default and if I use cargo new/init without any flags it would add the '2018' label itself?

@ehuss
Copy link
Contributor

ehuss commented Feb 24, 2020

Correct.

@akshatagarwl
Copy link
Author

@ehuss Thanks for clearing it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants