diff --git a/examples/container.zig b/examples/container.zig index a6cc52e..af98eac 100644 --- a/examples/container.zig +++ b/examples/container.zig @@ -22,7 +22,7 @@ pub const ExampleElement = packed struct { _ = ctx; std.debug.assert(cells.len == @as(usize, size.cols) * @as(usize, size.rows)); - // NOTE: error should only be returned here in case an in-recoverable exception has occured + // NOTE: error should only be returned here in case an in-recoverable exception has occurred const row = size.rows / 2; const col = size.cols / 2 -| 3; diff --git a/src/main.zig b/src/main.zig index 1e9d5f2..7e3fbc7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -27,7 +27,7 @@ pub const HelloWorldText = packed struct { const this: *@This() = @ptrCast(@alignCast(ctx)); std.debug.assert(cells.len == @as(usize, size.cols) * @as(usize, size.rows)); - // NOTE: error should only be returned here in case an in-recoverable exception has occured + // NOTE: error should only be returned here in case an in-recoverable exception has occurred const row = size.rows / 2; const col = size.cols / 2 -| (text.len / 2);