diff options
| author | bors <bors@rust-lang.org> | 2022-07-16 16:30:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-16 16:30:25 +0000 |
| commit | 7210e46dc69a4b197a313d093fe145722c248b7d (patch) | |
| tree | 76a8c46c94a6839994d2e811e293e94f7b4d0ddf /library/std/src/thread | |
| parent | 56351589f8c5afe07a9151dd4a75976aebd1a709 (diff) | |
| parent | 202c11bac047c065c13ad78967b334f5f46b4ac4 (diff) | |
Auto merge of #99315 - JohnTitor:rollup-77wzoc1, r=JohnTitor
Rollup of 7 pull requests Successful merges: - #98387 (Add new unstable API `downcast` to `std::io::Error`) - #98662 (Add std::fs::write documentation precision) - #99253 (Remove FIXME from MIR `always_storage_live_locals`) - #99264 (Fix typo in mod.rs) - #99270 (Add `#[must_use]` to `Box::from_raw`) - #99277 (Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends) - #99307 (Add regression test for #64401) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src/thread')
| -rw-r--r-- | library/std/src/thread/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs index c70ac8c9806..d28c7b58b20 100644 --- a/library/std/src/thread/mod.rs +++ b/library/std/src/thread/mod.rs @@ -1114,7 +1114,7 @@ impl Thread { // Used only internally to construct a thread object without spawning // Panics if the name contains nuls. pub(crate) fn new(name: Option<CString>) -> Thread { - // We have to use `unsafe` here to constuct the `Parker` in-place, + // We have to use `unsafe` here to construct the `Parker` in-place, // which is required for the UNIX implementation. // // SAFETY: We pin the Arc immediately after creation, so its address never |
