From 96c8aaf89d80a34f17e4d478e072984f760619b0 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 2 Jan 2023 09:50:56 +0100 Subject: [PATCH] Fix `--edition` inconsistency --- blog/content/edition-3/posts/01-minimal-kernel/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-3/posts/01-minimal-kernel/index.md b/blog/content/edition-3/posts/01-minimal-kernel/index.md index 07238fb4e..32021f8bb 100644 --- a/blog/content/edition-3/posts/01-minimal-kernel/index.md +++ b/blog/content/edition-3/posts/01-minimal-kernel/index.md @@ -76,7 +76,7 @@ cargo new kernel --bin --edition 2021 ``` We name the project `kernel` here, but of course you can choose your own name. -The `--bin` flag specifies that we want to create an executable binary (in contrast to a library) and the `--edition 2018` flag specifies that we want to use the [2021 edition] of Rust for our crate. +The `--bin` flag specifies that we want to create an executable binary (in contrast to a library) and the `--edition 2021` flag specifies that we want to use the [2021 edition] of Rust for our crate. When we run the command, cargo creates the following directory structure for us: [2021 edition]: https://doc.rust-lang.org/nightly/edition-guide/rust-2021/index.html