aboutsummaryrefslogtreecommitdiff
path: root/src/sourcemap/vlq_bench.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/sourcemap/vlq_bench.zig')
-rw-r--r--src/sourcemap/vlq_bench.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sourcemap/vlq_bench.zig b/src/sourcemap/vlq_bench.zig
index e6ea2724f..2116025f9 100644
--- a/src/sourcemap/vlq_bench.zig
+++ b/src/sourcemap/vlq_bench.zig
@@ -106,7 +106,7 @@ const SourceMap = struct {
var vlq: u32 = 0;
// hint to the compiler what the maximum value is
- const encoded_ = encoded[start..][0..@minimum(encoded.len - start, comptime (vlq_max_in_bytes + 1))];
+ const encoded_ = encoded[start..][0..@min(encoded.len - start, comptime (vlq_max_in_bytes + 1))];
// inlining helps for the 1 or 2 byte case, hurts a little for larger
comptime var i: usize = 0;