diff options
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/child_process.zig | 2 | ||||
| -rw-r--r-- | lib/std/linked_list.zig | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig index fb521eb784..f1604bb86c 100644 --- a/lib/std/child_process.zig +++ b/lib/std/child_process.zig @@ -508,7 +508,7 @@ pub const ChildProcess = struct { // it, that's the error code returned by the child process. _ = std.os.poll(&fd, 0) catch unreachable; - // According to eventfd(2) the descriptro is readable if the counter + // According to eventfd(2) the descriptor is readable if the counter // has a value greater than 0 if ((fd[0].revents & std.os.POLL.IN) != 0) { const err_int = try readIntFd(err_pipe[0]); diff --git a/lib/std/linked_list.zig b/lib/std/linked_list.zig index 5039e16583..577bae3d38 100644 --- a/lib/std/linked_list.zig +++ b/lib/std/linked_list.zig @@ -2,8 +2,6 @@ const std = @import("std.zig"); const debug = std.debug; const assert = debug.assert; const testing = std.testing; -const mem = std.mem; -const Allocator = mem.Allocator; /// A singly-linked list is headed by a single forward pointer. The elements /// are singly linked for minimum space and pointer manipulation overhead at |
