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`.
This commit is contained in:
Ryan Liptak
2023-05-06 21:47:56 -07:00
parent 2129f28953
commit 104f4053a2
4 changed files with 62 additions and 62 deletions

View File

@@ -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];