From d3faddb06a52b6c7d8cee7fbb89b2262761828b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=81=E9=80=9F=E8=9C=97=E7=89=9B?= <31986081+Jisu-Woniu@users.noreply.github.com> Date: Sun, 25 Feb 2024 21:48:42 +0800 Subject: [PATCH] Update version number src/appendix-05-editions.md Co-authored-by: Amumu --- src/appendix-05-editions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appendix-05-editions.md b/src/appendix-05-editions.md index b55c5cc..8c6b789 100644 --- a/src/appendix-05-editions.md +++ b/src/appendix-05-editions.md @@ -12,7 +12,7 @@ Rust 语言和编译器有一个为期 6 周的发布循环。这意味着用户 * 对于非用户,它表明发布了一些重大进展,这意味着 Rust 可能变得值得一试。 * 对于 Rust 自身开发者,其提供了项目整体的集合点。 -在本文档编写时,Rust 有两个版本:Rust 2015、Rust 2018 和 Rust 2021。本书基于 Rust 2018 edition 编写。 +在本文档编写时,Rust 有如下几个版本:Rust 2015、Rust 2018 和 Rust 2021。本书基于 Rust 2018 edition 编写。 *Cargo.toml* 中的 `edition` 字段表明代码应该使用哪个版本编译。如果该字段不存在,其默认为 `2015` 以提供后向兼容性。