diff options
| author | Ikko Ashimine <eltociear@gmail.com> | 2022-07-15 12:57:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-15 12:57:46 +0900 |
| commit | 67a6c0a7ee15dd464f4c917726c40978c7a857e3 (patch) | |
| tree | 1b82b5cc7c9f2611c9c7f6a56010db9187c59c43 | |
| parent | 30243dd87e7dbd17d68e1a1d16ba066a7d2cebe5 (diff) | |
| download | rust-67a6c0a7ee15dd464f4c917726c40978c7a857e3.tar.gz rust-67a6c0a7ee15dd464f4c917726c40978c7a857e3.zip | |
Fix typo in mod.rs
constuct -> construct
| -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 |
