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/event/loop.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/event/loop.zig')
| -rw-r--r-- | lib/std/event/loop.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig index 34f74e10d2..eea1ec75be 100644 --- a/lib/std/event/loop.zig +++ b/lib/std/event/loop.zig @@ -903,7 +903,7 @@ pub const Loop = struct { } } - // TODO: use a tickless heirarchical timer wheel: + // TODO: use a tickless hierarchical timer wheel: // https://github.com/wahern/timeout/ const Waiters = struct { entries: std.atomic.Queue(anyframe), @@ -947,7 +947,7 @@ pub const Loop = struct { // starting from the head var head = self.entries.head orelse return null; - // traverse the list of waiting entires to + // traverse the list of waiting entries to // find the Node with the smallest `expires` field var min = head; while (head.next) |node| { @@ -1756,7 +1756,7 @@ test "std.event.Loop - runDetached" { try loop.runDetached(std.testing.allocator, testRunDetached, .{}); // Now we can start the event loop. The function will return only - // after all tasks have been completed, allowing us to synchonize + // after all tasks have been completed, allowing us to synchronize // with the previous runDetached. loop.run(); |
