From 104f4053a2c3c6a1a2bf801ca5bf88ce4fee7a2a Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Sat, 6 May 2023 21:47:56 -0700 Subject: std.mem: Rename splitFull/tokenizeFull to splitSequence/tokenizeSequence I think this makes the name less ambiguous and more obvious that the suffix applies to the `delimiter`. --- tools/update_crc_catalog.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/update_crc_catalog.zig b/tools/update_crc_catalog.zig index 2fdb9b030f..81b20b7dfa 100644 --- a/tools/update_crc_catalog.zig +++ b/tools/update_crc_catalog.zig @@ -78,7 +78,7 @@ pub fn main() anyerror!void { var residue: []const u8 = undefined; var name: []const u8 = undefined; - var it = mem.splitFull(u8, line, " "); + var it = mem.splitSequence(u8, line, " "); while (it.next()) |property| { const i = mem.indexOf(u8, property, "=").?; const key = property[0..i]; -- cgit v1.2.3