aboutsummaryrefslogtreecommitdiff
path: root/lib/std/event/lock.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-04-30 18:02:08 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-04-30 18:16:04 -0700
commit94e30a756edc4c2182168dabd97d481b8aec0ff2 (patch)
tree50d4273d99ddd7a442d62b615cf9dc6128e71fef /lib/std/event/lock.zig
parentec6ffaa1e47388a59035277dafbe3d9999a80fca (diff)
downloadzig-94e30a756edc4c2182168dabd97d481b8aec0ff2.tar.gz
zig-94e30a756edc4c2182168dabd97d481b8aec0ff2.zip
std: fix a bunch of typos
The majority of these are in comments, some in doc comments which might affect the generated documentation, and a few in parameter names - nothing that should be breaking, however.
Diffstat (limited to 'lib/std/event/lock.zig')
-rw-r--r--lib/std/event/lock.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/event/lock.zig b/lib/std/event/lock.zig
index 6e095b1890..9cda7f2aba 100644
--- a/lib/std/event/lock.zig
+++ b/lib/std/event/lock.zig
@@ -36,7 +36,7 @@ pub const Lock = struct {
// self.head transitions from multiple stages depending on the value:
// UNLOCKED -> LOCKED:
- // acquire Lock ownership when theres no waiters
+ // acquire Lock ownership when there are no waiters
// LOCKED -> <Waiter head ptr>:
// Lock is already owned, enqueue first Waiter
// <head ptr> -> <head ptr>:
@@ -87,7 +87,7 @@ pub const Lock = struct {
// self.head goes through the reverse transition from acquire():
// <head ptr> -> <new head ptr>:
- // pop a waiter from the queue to give Lock ownership when theres still others pending
+ // pop a waiter from the queue to give Lock ownership when there are still others pending
// <head ptr> -> LOCKED:
// pop the laster waiter from the queue, while also giving it lock ownership when awaken
// LOCKED -> UNLOCKED: