diff options
| author | Linus Groh <mail@linusgroh.de> | 2023-04-30 18:02:08 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-30 18:16:04 -0700 |
| commit | 94e30a756edc4c2182168dabd97d481b8aec0ff2 (patch) | |
| tree | 50d4273d99ddd7a442d62b615cf9dc6128e71fef /lib/std/Thread/Futex.zig | |
| parent | ec6ffaa1e47388a59035277dafbe3d9999a80fca (diff) | |
| download | zig-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/Thread/Futex.zig')
| -rw-r--r-- | lib/std/Thread/Futex.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread/Futex.zig b/lib/std/Thread/Futex.zig index 7efdc69d3b..7fbe49fea2 100644 --- a/lib/std/Thread/Futex.zig +++ b/lib/std/Thread/Futex.zig @@ -772,7 +772,7 @@ const PosixImpl = struct { waiter.event.wait(timeout) catch { // If we fail to cancel after a timeout, it means a wake() thread dequeued us and will wake us up. - // We must wait until the event is set as that's a signal that the wake() thread wont access the waiter memory anymore. + // We must wait until the event is set as that's a signal that the wake() thread won't access the waiter memory anymore. // If we return early without waiting, the waiter on the stack would be invalidated and the wake() thread risks a UAF. defer if (!cancelled) waiter.event.wait(null) catch unreachable; |
