Skip to content

Commit 5a65e2a

Browse files
authored
Merge pull request #4196 from rust-lang/appendix-e-2024-edition
Appendix E: Update for 2024 Edition
2 parents 2e4cd43 + 0f616a6 commit 5a65e2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/appendix-05-editions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ Editions serve different purposes for different people:
2424
- For those developing Rust, a new edition provides a rallying point for the
2525
project as a whole.
2626

27-
At the time of this writing, three Rust editions are available: Rust 2015, Rust
28-
2018, and Rust 2021. This book is written using Rust 2021 edition idioms.
27+
At the time of this writing, four Rust editions are available: Rust 2015, Rust
28+
2018, Rust 2021, and Rust 2024. This book is written using Rust 2024 edition
29+
idioms.
2930

3031
The `edition` key in _Cargo.toml_ indicates which edition the compiler should
3132
use for your code. If the key doesn’t exist, Rust uses `2015` as the edition

0 commit comments

Comments
 (0)