Skip to content

Clarify range wording in ch02-00#4725

Open
NMJ27 wants to merge 1 commit intorust-lang:mainfrom
NMJ27:clarify-range-wording
Open

Clarify range wording in ch02-00#4725
NMJ27 wants to merge 1 commit intorust-lang:mainfrom
NMJ27:clarify-range-wording

Conversation

@NMJ27
Copy link
Copy Markdown

@NMJ27 NMJ27 commented Apr 20, 2026

This clarifies a minor ambiguity in the wording around the random-number range.

“Between 1 and 100” can be read as either inclusive or exclusive. Since the code uses 1..=100, this change makes the text explicit by stating that the range is from 1 to 100, inclusive.

@NMJ27 NMJ27 changed the title Clarify range wording in Generating a Random Number Clarify range wording in ch02-00 Apr 21, 2026
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