Skip to content

Commit 535db2f

Browse files
authored
Update manifest.md
Suggestion for text when the edition isn't defined at all
1 parent bc4cabd commit 535db2f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/doc/src/reference/manifest.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,14 @@ set to the latest edition. Setting the `edition` key in
125125
`[package]` will affect all targets/crates in the package, including test
126126
suites, benchmarks, binaries, examples, etc.
127127

128-
If the `edition` key is not set to a specific [Rust Edition] in your
129-
`Cargo.toml`, Cargo will default to 2018.
130-
131128
```toml
132129
[package]
133130
# ...
134131
edition = '2018'
135132
```
136133

134+
If the `edition` key is not set in your `Cargo.toml` file, Cargo will default to 2015.
135+
137136
#### The `description` field
138137

139138
The description is a short blurb about the package. [crates.io] will display

0 commit comments

Comments
 (0)