diff --git a/src/cdp/CDP.zig b/src/cdp/CDP.zig index f29a5fec..02810273 100644 --- a/src/cdp/CDP.zig +++ b/src/cdp/CDP.zig @@ -1026,7 +1026,7 @@ pub const BrowserContext = struct { // reserve 10 bytes for websocket header buf.appendSliceAssumeCapacity(&.{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }); - // -1 because we dont' want the closing brace '}' + // -1 because we don't want the closing brace '}' buf.appendSliceAssumeCapacity(msg[0 .. msg.len - 1]); buf.appendSliceAssumeCapacity(field); buf.appendSliceAssumeCapacity(session_id); diff --git a/src/storage/sqlite/Pool.zig b/src/storage/sqlite/Pool.zig index e3727935..ec48e569 100644 --- a/src/storage/sqlite/Pool.zig +++ b/src/storage/sqlite/Pool.zig @@ -98,7 +98,7 @@ pub fn release(self: *Pool, conn: Sqlite.Conn) void { const testing = @import("../../testing.zig"); test "Sqlite: Pool" { - // :memory: _has_ to run with a single connetion in the pool, which isn't + // :memory: _has_ to run with a single connection in the pool, which isn't // that useful for testing. So we create a temp file. std.fs.cwd().deleteFile("/tmp/lightpanda_test.sqlite") catch {}; diff --git a/src/storage/sqlite/Sqlite.zig b/src/storage/sqlite/Sqlite.zig index e020b5a0..6ae4f7c1 100644 --- a/src/storage/sqlite/Sqlite.zig +++ b/src/storage/sqlite/Sqlite.zig @@ -198,7 +198,7 @@ const Statement = struct { const data = c.sqlite3_column_text(stmt, @intCast(index)); return @as([*c]const u8, @ptrCast(data))[0..@intCast(len) :0]; }, - else => @compileError("unsupport column type: " ++ @typeName(T)), + else => @compileError("unsupported column type: " ++ @typeName(T)), }; }