std: fix HashMap RNG docs wording#155187
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Apr 18, 2026
Merged
Conversation
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
tbu-
approved these changes
Apr 18, 2026
Contributor
There was a problem hiding this comment.
Haha, this was incorrectly changed in #116958 ("rename Generator to Coroutine").
Member
|
@bors r+ rollup |
Contributor
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Apr 18, 2026
…ng, r=Mark-Simulacrum std: fix HashMap RNG docs wording Fixes a wording typo in the top-level HashMap docs. Changed "random number coroutine" to "random number generator" in the seed entropy paragraph. This section is security-relevant, and "generator" is the correct term in RNG context. Testing: - Not run locally (docs-only text change).
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Apr 18, 2026
…ng, r=Mark-Simulacrum std: fix HashMap RNG docs wording Fixes a wording typo in the top-level HashMap docs. Changed "random number coroutine" to "random number generator" in the seed entropy paragraph. This section is security-relevant, and "generator" is the correct term in RNG context. Testing: - Not run locally (docs-only text change).
This was referenced Apr 18, 2026
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 18, 2026
…uwer Rollup of 10 pull requests Successful merges: - #150230 (spec next chunk for trustedlen) - #155284 (net::tcp/udp: fix docs about how set_nonblocking is implemented) - #146870 (fix: add aliasing rules for Box) - #154003 (Make std::fs::File Send on UEFI) - #155187 (std: fix HashMap RNG docs wording) - #155255 (Document why `layout.align() + layout.size()` doesn't overflow) - #155351 (Reorganize tests from `tests/ui/issues/`) - #155406 (std: Update dependency on `wasi` crate) - #155447 (Simplify `parse_limited`) - #155481 (Delete `SizeSkeleton::Generic`)
rust-timer
added a commit
that referenced
this pull request
Apr 18, 2026
Rollup merge of #155187 - ArshLabs:fix/hashmap-rng-doc-wording, r=Mark-Simulacrum std: fix HashMap RNG docs wording Fixes a wording typo in the top-level HashMap docs. Changed "random number coroutine" to "random number generator" in the seed entropy paragraph. This section is security-relevant, and "generator" is the correct term in RNG context. Testing: - Not run locally (docs-only text change).
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.
Fixes a wording typo in the top-level HashMap docs.
Changed "random number coroutine" to "random number generator" in the seed entropy paragraph.
This section is security-relevant, and "generator" is the correct term in RNG context.
Testing: