about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2022-07-15 12:57:46 +0900
committerGitHub <noreply@github.com>2022-07-15 12:57:46 +0900
commit67a6c0a7ee15dd464f4c917726c40978c7a857e3 (patch)
tree1b82b5cc7c9f2611c9c7f6a56010db9187c59c43
parent30243dd87e7dbd17d68e1a1d16ba066a7d2cebe5 (diff)
downloadrust-67a6c0a7ee15dd464f4c917726c40978c7a857e3.tar.gz
rust-67a6c0a7ee15dd464f4c917726c40978c7a857e3.zip
Fix typo in mod.rs
constuct -> construct
-rw-r--r--library/std/src/thread/mod.rs2
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