fix(lint): correct reported typos
Zig Project Action / Lint, Spell-check and test zig project (push) Has been cancelled

This commit is contained in:
2026-06-06 20:51:59 +02:00
parent ae666cb436
commit b312c0e2f3
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -222,7 +222,7 @@ pub fn ParallelIter(T: type) type {
self.sink = try gpa.alloc(T, self.impl.len());
if (self.poolSize == 0) {
return; // Assume threads are unavailable, complete syncronously
return; // Assume threads are unavailable, complete synchronously
} else {
for (self.pool) |*thread| {
thread.* = try std.Thread.spawn(.{}, threadHandle, .{&self});
@@ -232,7 +232,7 @@ pub fn ParallelIter(T: type) type {
pub fn join(self: *Self) []T {
if (self.pool.len == 0) {
// Assume threads are unavailable, complete syncronously
// Assume threads are unavailable, complete synchronously
while (true) {
self.handle() orelse break;
}
+2 -2
View File
@@ -178,7 +178,7 @@ pub fn SumTree(comptime T: type) type {
};
}
/// Returns the number of generations withing the current node.
/// Returns the number of generations within the current node.
pub fn height(self: *const Self) usize {
return switch (self.*) {
.internal => |internal| internal.height,
@@ -299,7 +299,7 @@ pub fn SumTree(comptime T: type) type {
self.checkInvariants(context);
return null;
}
// Otherwise, create a new node and propogate to parent
// Otherwise, create a new node and propagate to parent
const newInternal = try gpa.create(Self);
newInternal.* = .{ .internal = .{
.height = internal.height,