Update to new Zig mem trim API

trimRight is now trimEnd
This commit is contained in:
David Pflug
2025-12-13 12:01:10 -05:00
parent e767de2337
commit 7d1184a140
2 changed files with 5 additions and 5 deletions

View File

@@ -303,7 +303,7 @@ fn check(
fn readLine(reader: *fs.File.Reader, buf: []u8) !?[]const u8 {
try reader.interface.readSliceAll(buf);
return mem.trimRight(u8, buf, " \r\n");
return mem.trimEnd(u8, buf, " \r\n");
}
/// Fails with a custom error message.