Skip to content

Commit 0b61503

Browse files
committed
Auto merge of #11231 - hi-rustin:rustin-patch-build-doc, r=epage
Add missing edition ### What does this PR try to resolve? 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 9bdc926 + fa815f3 commit 0b61503

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/src/reference/build-script-examples.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Here we can see that we have a `build.rs` build script and our binary in
4949
[package]
5050
name = "hello-from-generated-code"
5151
version = "0.1.0"
52+
edition = "2021"
5253
```
5354

5455
Let’s see what’s inside the build script:

0 commit comments

Comments
 (0)