mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Auto merge of #8551 - CPerezz:manifest_edition_nit, r=Eh2406
Revert Cargo Book changes for default edition On #8543 it was introduced a change on the Cargo Book docs where it was incorrectly stated that the default edition for the Cargo Manifest was `2018` when indeed, as @ehuss correctly stated in https://github.com/rust-lang/cargo/pull/8543#issuecomment-663769077 it is not. Therefore, as @Eh2406 asked for, I made the PR reverting this changes and leaving the Cargo Book docs as they were before.
This commit is contained in:
commit
272cfc0eaf
@ -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 2018.
|
||||
default to 2015.
|
||||
|
||||
```toml
|
||||
[package]
|
||||
|
Loading…
x
Reference in New Issue
Block a user