Skip to content

Commit 8a64529

Browse files
authored
Rollup merge of rust-lang#99264 - eltociear:patch-14, r=compiler-errors
Fix typo in mod.rs constuct -> construct
2 parents b538d5a + 67a6c0a commit 8a64529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ impl Thread {
11141114
// Used only internally to construct a thread object without spawning
11151115
// Panics if the name contains nuls.
11161116
pub(crate) fn new(name: Option<CString>) -> Thread {
1117-
// We have to use `unsafe` here to constuct the `Parker` in-place,
1117+
// We have to use `unsafe` here to construct the `Parker` in-place,
11181118
// which is required for the UNIX implementation.
11191119
//
11201120
// SAFETY: We pin the Arc immediately after creation, so its address never

0 commit comments

Comments
 (0)