Update std.mem.split usage to new API

This commit is contained in:
Robin Voetter
2021-08-14 01:07:08 +02:00
parent 89e16f69a8
commit 07e530719b
2 changed files with 6 additions and 6 deletions

View File

@@ -456,7 +456,7 @@ fn Renderer(comptime WriterType: type) type {
}
fn renderCopyright(self: *Self) !void {
var it = mem.split(self.registry.copyright, "\n");
var it = mem.split(u8, self.registry.copyright, "\n");
while (it.next()) |line| {
try self.writer.print("// {s}\n", .{line});
}