mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
cli: splitScalar -> tokenizeScalar
This commit is contained in:
@@ -440,7 +440,7 @@ pub fn Builder(comptime commands: anytype) type {
|
||||
@field(c, option.name) = @bitCast(@as(Int, std.math.maxInt(Int)));
|
||||
} else {
|
||||
// Parse given args.
|
||||
var it = std.mem.splitScalar(u8, str, ',');
|
||||
var it = std.mem.tokenizeScalar(u8, str, ',');
|
||||
outer: while (it.next()) |part| {
|
||||
const trimmed = std.mem.trim(u8, part, &std.ascii.whitespace);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user