From fa815f345cc6d010d7fd9af3c8e12bcca24dba0d Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Thu, 13 Oct 2022 23:14:31 +0800 Subject: [PATCH] Add missing edition Signed-off-by: hi-rustin --- src/doc/src/reference/build-script-examples.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/src/reference/build-script-examples.md b/src/doc/src/reference/build-script-examples.md index 0db3bf7260c..bf49aeb1b74 100644 --- a/src/doc/src/reference/build-script-examples.md +++ b/src/doc/src/reference/build-script-examples.md @@ -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: