Skip to content

Commit

Permalink
Appendix E: Update for 2024 Edition
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Jan 9, 2025
1 parent 2e4cd43 commit 0f616a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/appendix-05-editions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ Editions serve different purposes for different people:
- For those developing Rust, a new edition provides a rallying point for the
project as a whole.

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

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

0 comments on commit 0f616a6

Please sign in to comment.