Skip to content

OnceCell: Improve wording in module docs - #159196

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Wilfred:patch-2
Jul 15, 2026
Merged

OnceCell: Improve wording in module docs#159196
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Wilfred:patch-2

Conversation

@Wilfred

Copy link
Copy Markdown
Contributor

The "can also not" phrasing was slightly awkward, so rephrase this sentence.

The "can also not" phrasing was slightly awkward, so rephrase this sentence.
@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jul 12, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: libs
  • libs expanded to 12 candidates
  • Random selection from Darksonn, JohnTitor, Mark-Simulacrum, clarfonthey, jhpratt

@teor2345teor2345 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhpratt

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-borsBot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 45b58f3 has been approved by jhpratt

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 14, 2026
@jhprattjhpratt mentioned this pull request Jul 15, 2026
rust-borsBot pushed a commit that referenced this pull request Jul 15, 2026
Rollup of 15 pull requests
Successful merges:
- #159311 (Add 1.97.1 release notes)
- #156220 (Implement `VecDeque::truncate_to_range`)
- #158608 (Implement `#[diagnostic::opaque]` attribute to hide backtraces of macros.)
- #159168 (Fix static_mut_refs lint check logic)
- #159242 (resolve: Inherit eager invocation parents)
- #159256 (Account for async closures when pointing at lifetime in return type)
- #159310 (cleanup: upstream dropped AMX-TF32)
- #158348 (Add documentation for the `inline` attribute)
- #159181 (add rustc_no_writable to mem::forget and structs it uses)
- #159191 (Mark `PrivateItems` with `std_internals` unstable feature.)
- #159194 (rustdoc: Fix auto trait normalization env)
- #159196 (OnceCell: Improve wording in module docs)
- #159289 (Fix Zulip backport command suggestion)
- #159294 (renovate: don't update PRs in the merge queue)
- #159305 (std: clarify available_parallelism docs for Windows 11 processor groups)
@rust-bors
rust-borsBot merged commit 52867ef into rust-lang:mainJul 15, 2026
13 checks passed
@rustbotrustbot added this to the 1.99.0 milestone Jul 15, 2026
rust-timer added a commit that referenced this pull request Jul 15, 2026
Rollup merge of #159196 - Wilfred:patch-2, r=jhpratt
OnceCell: Improve wording in module docs
The "can also not" phrasing was slightly awkward, so rephrase this sentence.
pullBot pushed a commit to LeeeeeeM/miri that referenced this pull request Jul 16, 2026
Rollup of 15 pull requests
Successful merges:
- rust-lang/rust#159311 (Add 1.97.1 release notes)
- rust-lang/rust#156220 (Implement `VecDeque::truncate_to_range`)
- rust-lang/rust#158608 (Implement `#[diagnostic::opaque]` attribute to hide backtraces of macros.)
- rust-lang/rust#159168 (Fix static_mut_refs lint check logic)
- rust-lang/rust#159242 (resolve: Inherit eager invocation parents)
- rust-lang/rust#159256 (Account for async closures when pointing at lifetime in return type)
- rust-lang/rust#159310 (cleanup: upstream dropped AMX-TF32)
- rust-lang/rust#158348 (Add documentation for the `inline` attribute)
- rust-lang/rust#159181 (add rustc_no_writable to mem::forget and structs it uses)
- rust-lang/rust#159191 (Mark `PrivateItems` with `std_internals` unstable feature.)
- rust-lang/rust#159194 (rustdoc: Fix auto trait normalization env)
- rust-lang/rust#159196 (OnceCell: Improve wording in module docs)
- rust-lang/rust#159289 (Fix Zulip backport command suggestion)
- rust-lang/rust#159294 (renovate: don't update PRs in the merge queue)
- rust-lang/rust#159305 (std: clarify available_parallelism docs for Windows 11 processor groups)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Wilfred@rustbot@jhpratt@teor2345@Mark-Simulacrum