Skip to content

Update gen_range to random_range in Appendix C - #4806

Open
Titome wants to merge 1 commit into
rust-lang:mainfrom
Titome:fix-gen-range
Open

Update gen_range to random_range in Appendix C#4806
Titome wants to merge 1 commit into
rust-lang:mainfrom
Titome:fix-gen-range

Conversation

@Titome

@Titome Titome commented Aug 1, 2026

Copy link
Copy Markdown

rand 0.10 renamed Rng::gen_range to random_range (now provided by the RngExt trait). Appendix C still referenced the old name — the only remaining mention in src/ after the upgrade to rand 0.10.1.

🤖 Generated with Claude Code

rand 0.10 renamed Rng::gen_range to random_range (now provided by the
RngExt trait). This mention in Appendix C was left behind when the book
was updated to rand 0.10.1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant