Skip to content

Commit

Permalink
Fix default edition spec in Cargo Book
Browse files Browse the repository at this point in the history
The Manifest section states on the example that the
default edition is 2018, but the lines of text avobe
state that the default is `2015` which is not correct.

Closes #8541
  • Loading branch information
CPerezz committed Jul 24, 2020
1 parent d83a2d6 commit 6f8546f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ brackets at the end of each author.

You can opt in to a specific [Rust Edition] for your package with the
`edition` key in `Cargo.toml`. If you don't specify the edition, it will
default to 2015.
default to 2018.

```toml
[package]
Expand Down

0 comments on commit 6f8546f

Please sign in to comment.