Fix a number of typos in comments

This commit is contained in:
Ben Buhse 2026-02-22 17:51:17 -06:00
commit 4c58a3d842
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
10 changed files with 26 additions and 19 deletions

View file

@ -155,9 +155,9 @@ pub fn tokenizeToOwnedSlices(input: []const u8, delimiter: u8) ![][]const u8 {
var it = std.mem.tokenizeScalar(u8, input, delimiter);
while (it.next()) |part| {
const duped = try gpa.dupe(u8, part);
try list.append(utils.gpa, duped);
try list.append(gpa, duped);
}
return list.toOwnedSlice(utils.gpa);
return list.toOwnedSlice(gpa);
}
pub fn stripQuotes(s: []const u8) []const u8 {
@ -186,8 +186,6 @@ const wayland = @import("wayland");
const river = wayland.client.river;
const pixman = @import("pixman");
const utils = @import("utils.zig");
const log = std.log.scoped(.utils);
const testing = std.testing;