This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 402eeff
committed
[beta] TRPL: incorporate all backward-compatible Edition changes
This incorporates all the backwards-compatible changes for the 2024
Edition. There will also be a follow-on PR to land revisions to the new
chapter on async so it can be as ready as possible when officially
released with 1.85 and the 2024 Edition.
Additionally, there are a few other, non-backward-compatible, changes
(largely around `use<..>`) we can only land using the stable edition,
which we may or may not be able to land in 1.85 by using the beta
toolchain in the example code. Those may or may not be ported over,
depending on how that does or does not play with the infrastructure.1 parent fe9b975 commit 402eeff
1 file changed
+1
-1
lines changed- .github/workflows/main.yml+1-1
- listings/ch14-more-about-cargo/listing-14-07/add/adder/src/main.rs-2
- listings/ch17-async-await/listing-17-12/src/main.rs+1-1
- listings/ch20-advanced-features/listing-20-11/src/main.rs+4-2
- nostarch/book.toml+3
- nostarch/chapter21.md+751-627
- packages/mdbook-trpl/Cargo.toml+4
- packages/mdbook-trpl/src/bin/heading.rs+38
- packages/mdbook-trpl/src/config/mod.rs+1-1
- packages/mdbook-trpl/src/figure/mod.rs+1-14
- packages/mdbook-trpl/src/heading/mod.rs+114
- packages/mdbook-trpl/src/heading/tests.rs+205
- packages/mdbook-trpl/src/lib.rs+15
- packages/mdbook-trpl/src/listing/mod.rs+7-10
- packages/mdbook-trpl/src/listing/tests.rs+1-1
- src/appendix-01-keywords.md+12-9
- src/appendix-05-editions.md+3-2
- src/appendix-06-translation.md+1-1
- src/ch13-04-performance.md+4-4
- src/ch14-03-cargo-workspaces.md+2-3
- src/ch17-00-async-await.md+1-1
- src/ch20-01-unsafe-rust.md+14-6
- src/ch20-03-advanced-traits.md+1-1
- src/ch21-03-graceful-shutdown-and-cleanup.md+1-1
0 commit comments