Skip to content

Commit

Permalink
Auto merge of #11265 - hi-rustin:rustin-patch-missing, r=epage
Browse files Browse the repository at this point in the history
Add missing edition

When I read this doc, I found that we are missing the edition key in this manifest. I think we should add it because` cargo new` always does this.
  • Loading branch information
bors committed Oct 20, 2022
2 parents a6e72d0 + 96bf10e commit b1b25a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doc/src/reference/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ in `Cargo.toml`:
[package]
name = "my-project"
version = "0.1.0"
edition = "2021"

[dependencies]
other-crate = { version = "1.0", registry = "my-registry" }
Expand Down

0 comments on commit b1b25a0

Please sign in to comment.