Skip to content

Commit b1b25a0

Browse files
committed
Auto merge of #11265 - hi-rustin:rustin-patch-missing, r=epage
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.
2 parents a6e72d0 + 96bf10e commit b1b25a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/src/reference/registries.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ in `Cargo.toml`:
2929
[package]
3030
name = "my-project"
3131
version = "0.1.0"
32+
edition = "2021"
3233

3334
[dependencies]
3435
other-crate = { version = "1.0", registry = "my-registry" }

0 commit comments

Comments
 (0)