about summary refs log tree commit diff
path: root/library/std/src/sys_common
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 21:07:29 +0200
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 21:07:29 +0200
commita0daf22b95ff1cd3f7ac55ea9370987535f3134d (patch)
treef8efc443c71e799ab49867ffbc3721a497b7c982 /library/std/src/sys_common
parenta73288371e3fa0a610fbc11e7e8418017bdfde42 (diff)
Fix typos in library
Diffstat (limited to 'library/std/src/sys_common')
-rw-r--r--library/std/src/sys_common/thread_parking/id.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys_common/thread_parking/id.rs b/library/std/src/sys_common/thread_parking/id.rs
index 575988ec760..15042fc3bee 100644
--- a/library/std/src/sys_common/thread_parking/id.rs
+++ b/library/std/src/sys_common/thread_parking/id.rs
@@ -79,7 +79,7 @@ impl Parker {
             park_timeout(dur, self.state.as_ptr().addr());
             // Swap to ensure that we observe all state changes with acquire
             // ordering, even if the state has been changed after the timeout
-            // occured.
+            // occurred.
             self.state.swap(EMPTY, Acquire);
         }
     }