From c6e4a51d59b761dd3b3f79436485613e630856e6 Mon Sep 17 00:00:00 2001 From: LucasFA <23667494+LucasFA@users.noreply.github.com> Date: Sun, 14 May 2023 20:43:58 +0200 Subject: [PATCH] Update to 2021 edition --- book.toml | 2 +- src/intro.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book.toml b/book.toml index a2011c6..693aca4 100644 --- a/book.toml +++ b/book.toml @@ -32,4 +32,4 @@ git-repository-url = "https://github.com/rust-lang/nomicon" "./arc.html" = "./arc-mutex/arc.html" [rust] -edition = "2018" +edition = "2021" diff --git a/src/intro.md b/src/intro.md index 4e77ffa..323c0ce 100644 --- a/src/intro.md +++ b/src/intro.md @@ -39,7 +39,7 @@ Topics that are within the scope of this book include: the meaning of (un)safety The Rustonomicon is not a place to exhaustively describe the semantics and guarantees of every single API in the standard library, nor is it a place to exhaustively describe every feature of Rust. -Unless otherwise noted, Rust code in this book uses the Rust 2018 edition. +Unless otherwise noted, Rust code in this book uses the Rust 2021 edition. [trpl]: ../book/index.html [ref]: ../reference/index.html