diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-07-16 17:53:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-16 17:53:02 +0900 |
| commit | 8a64529763a5dbe876ecf3bb6ee6771aa0a19669 (patch) | |
| tree | dee2871d5d3138e40d5f1f1006749d557224708c /library/std | |
| parent | b538d5acaf247648d334786b7bf861cda6d179cb (diff) | |
| parent | 67a6c0a7ee15dd464f4c917726c40978c7a857e3 (diff) | |
| download | rust-8a64529763a5dbe876ecf3bb6ee6771aa0a19669.tar.gz rust-8a64529763a5dbe876ecf3bb6ee6771aa0a19669.zip | |
Rollup merge of #99264 - eltociear:patch-14, r=compiler-errors
Fix typo in mod.rs constuct -> construct
Diffstat (limited to 'library/std')
| -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 |
