From 7b690d387be2c27125a20446b8ced536f67f0ea1 Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Sun, 16 Feb 2025 16:01:04 +0100 Subject: [PATCH] fix(lint): correct spelling errors --- examples/container.zig | 2 +- src/main.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);