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 66e60af6..23cca89f 100644 --- a/blog/content/edition-3/posts/01-minimal-kernel/index.md +++ b/blog/content/edition-3/posts/01-minimal-kernel/index.md @@ -595,8 +595,9 @@ rustup override set nightly Alternatively, you can add a file called **`rust-toolchain`** to the project's root directory with the required Rust version: -``` -nightly +```toml +[toolchain] +channel = "nightly" ``` After doing one of these things, both the `cargo` and `rustc` command should use a nightly version of Rust when invoked from within the current directory. You can verify that you have a nightly version installed and active by running `rustc --version`: The version number should contain `-nightly` at the end, for example: