From d71e1b6367e9a70a1c344e068caff2a103859b78 Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Tue, 22 Oct 2024 17:00:54 +0200 Subject: chore: Correct eval branch quota comment in `countParams` --- clap.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clap.zig b/clap.zig index 999f87b..44d6d44 100644 --- a/clap.zig +++ b/clap.zig @@ -130,8 +130,8 @@ pub fn parseParamsComptime(comptime str: []const u8) [countParams(str)]Param(Hel } fn countParams(str: []const u8) usize { - // See parseParam for reasoning. I would like to remove it from parseParam, but people depend - // on that function to still work conveniently at comptime, so leaving it for now. + // See parseParamEx for reasoning. I would like to remove it from parseParam, but people + // depend on that function to still work conveniently at comptime, so leaving it for now. @setEvalBranchQuota(std.math.maxInt(u32)); var res: usize = 0; -- cgit v1.2.3