mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Fix default edition spec in Cargo Book
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
This commit is contained in:
parent
d83a2d609d
commit
6f8546fec0
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user