Skip to content

Commit

Permalink
Auto merge of #11231 - hi-rustin:rustin-patch-build-doc, r=epage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Oct 13, 2022
2 parents 9bdc926 + fa815f3 commit 0b61503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doc/src/reference/build-script-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Here we can see that we have a `build.rs` build script and our binary in
[package]
name = "hello-from-generated-code"
version = "0.1.0"
edition = "2021"
```

Let’s see what’s inside the build script:
Expand Down

0 comments on commit 0b61503

Please sign in to comment.