Expand book: Edition 2024, async, concurrency, exercises - #2030
Open
Gytisw wants to merge 1 commit into
Open
Conversation
Collaborator
|
Thanks for the pull request, and welcome! The Rust Project has assigned @marioidival (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks. Why was this reviewer chosen?The reviewer was selected based on:
|
Gytisw
force-pushed
the
expand/upgrade-2024
branch
2 times, most recently
from
September 5, 2026 12:55
f1f52e8 to
2106e47
Compare
- book.toml: rust edition 2021 -> 2024 - Remove stale try!/edition2015 example, 2015-era extern crate comment - New std leaves: cell, once, cow, collections, iter - Concurrency: scoped threads + Send/Sync, new sync page - New Async chapter (tokio, ignore-marked runtime snippets) - New leaves: async traits, GATs, const generics, error reporting, proc macros, cargo workspaces/tooling, MaybeUninit, property testing - Ecosystem walkthrough (clap + serde_json) - Uniform Exercise format on new pages + 5 retrofitted testcases - CI: mdbook 0.5.1 -> 0.5.4
Gytisw
force-pushed
the
expand/upgrade-2024
branch
from
September 5, 2026 13:20
2106e47 to
8855495
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
book.toml: Rust edition 2021 -> 2024; delete staletry!/edition2015block and 2015-eraextern cratecomment.Cell/RefCell,OnceLock/LazyLock,Cow, more collections, iterators in depth.Send/Syncon Threads page; new shared-state page (Mutex,RwLock, atomics).await, spawning + channels, message streams) on tokio 1.x; runtime snippets areignore-marked withCargo.tomlheaders.asyncin traits, GATs, const generics, error reporting (anyhow/thiserror), proc macros, cargo workspaces/tooling,MaybeUninit, property testing, Ecosystem CLI+JSON walkthrough.### Exercise+ Hint/Solution format on all new pages; retrofitted onto 5 existing testcase/activity pages.MDBOOK_VERSION0.5.1 -> 0.5.4 (matches local, avoids render drift).Verification (stable 1.98.0, mdbook 0.5.4)
grep -rn edition2015 src-> zero hits.mdbook testexit 0 (all neweditableblocks included).mdbook buildsuccess; intra-book links checked locally (official linkchecker unfetchable here: GitHub API 401).ignoresnippets (tokio, anyhow, thiserror, serde, proptest, clap) run green pasted into a scratch crate.grep -rln '### Exercise' src | wc -l-> 24, each with Hint + Solution.Translation stats (English-only new content; no
po/commits, fallback renders English)msgfmtreports 17 pre-existing fatal newline errors inpo/es.poon master; untouched by this PR).