Rollup merge of #99264 - eltociear:patch-14, r=compiler-errors
Fix typo in mod.rs constuct -> construct
This commit is contained in:
commit
8a64529763
@ -1114,7 +1114,7 @@ impl Thread {
|
|||||||
// Used only internally to construct a thread object without spawning
|
// Used only internally to construct a thread object without spawning
|
||||||
// Panics if the name contains nuls.
|
// Panics if the name contains nuls.
|
||||||
pub(crate) fn new(name: Option<CString>) -> Thread {
|
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.
|
// which is required for the UNIX implementation.
|
||||||
//
|
//
|
||||||
// SAFETY: We pin the Arc immediately after creation, so its address never
|
// SAFETY: We pin the Arc immediately after creation, so its address never
|
||||||
|
Loading…
x
Reference in New Issue
Block a user