Skip to content

docs: Fix typo in std/src/thready/scoped.rs#155454

Open
MadeInShineA wants to merge 1 commit intorust-lang:mainfrom
MadeInShineA:issue-155275-fix
Open

docs: Fix typo in std/src/thready/scoped.rs#155454
MadeInShineA wants to merge 1 commit intorust-lang:mainfrom
MadeInShineA:issue-155275-fix

Conversation

@MadeInShineA
Copy link
Copy Markdown

@MadeInShineA MadeInShineA commented Apr 17, 2026

Fix typo in std/src/thread/scoped.rs

Why this pr

This PR fixes the typo mentioned in #155275.

I know this was originally fixed in #155325 and then in #155328.

But since the first issue was closed due to some ai slop and the second one was closed because the first one was already opened, it seems to me that this PR is still needed.

What this pr does

This PR "just" fixes a typo inside the std/src/thread/scoped.rs file

Changing the comment from this:

/// borrow non-`'static` data from the outside the scope. See [`scope`] for
/// details.

to this:

/// borrow non-`'static` data from outside the scope. See [`scope`] for
/// details.

@rustbot rustbot 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 Apr 17, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 17, 2026

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: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 7 candidates
  • Random selection from Mark-Simulacrum, jhpratt

@lqd
Copy link
Copy Markdown
Member

lqd commented Apr 17, 2026

Thanks!

r? me @bors r+ rollup

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 17, 2026

📌 Commit 10cc6c4 has been approved by lqd

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant 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.

4 participants