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

Cargo book documentation nitpick in Manifest-Edition section #8541

Closed
CPerezz opened this issue Jul 24, 2020 · 0 comments · Fixed by #8543
Closed

Cargo book documentation nitpick in Manifest-Edition section #8541

CPerezz opened this issue Jul 24, 2020 · 0 comments · Fixed by #8543
Labels
C-bug Category: bug

Comments

@CPerezz
Copy link
Contributor

CPerezz commented Jul 24, 2020

Currently in the Cargo Book, precisely in https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field, the edition of the example is correct (2018) but the text above has the previous one (2015) which as far as I know is no longer the default used when you use cargo new.

@CPerezz CPerezz added the C-bug Category: bug label Jul 24, 2020
bors added a commit that referenced this issue Jul 24, 2020
Cargo book nitpick in Manifest section

The Manifest section states on the example that the
default edition is 2018, but the lines of text above
state that the default is `2015` which is not correct.

Closes #8541
@bors bors closed this as completed in 6f8546f Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant