mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
4fa293c965
docs: Fix typo in std/src/thready/scoped.rs # Fix typo in std/src/thread/scoped.rs ## Why this pr This PR fixes the typo mentioned in rust-lang/rust#155275. I know this was originally fixed in rust-lang/rust#155325 and then in rust-lang/rust#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. ```