aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2023-05-06 21:47:56 -0700
committerRyan Liptak <squeek502@hotmail.com>2023-05-13 13:45:05 -0700
commit104f4053a2c3c6a1a2bf801ca5bf88ce4fee7a2a (patch)
tree32685a5d9a662b5ff8849c9b768256b18940f789 /tools
parent2129f28953b72da2f1bb58ff063a044d737c59c4 (diff)
downloadzig-104f4053a2c3c6a1a2bf801ca5bf88ce4fee7a2a.tar.gz
zig-104f4053a2c3c6a1a2bf801ca5bf88ce4fee7a2a.zip
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`.
Diffstat (limited to 'tools')
-rw-r--r--tools/update_crc_catalog.zig2
1 files changed, 1 insertions, 1 deletions
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];