diff options
author | 2021-11-01 04:04:18 -0700 | |
---|---|---|
committer | 2021-11-01 04:04:18 -0700 | |
commit | bc5f99dc43c4f61546f15ed27485a8c6ec7472bd (patch) | |
tree | a2ca9aa5b667ef6d3c42d6e0397a0b05d193cbf1 /src/string_immutable.zig | |
parent | 4d4966592e75f27b5f58a1c3132dae47bc6f6afc (diff) | |
download | bun-bc5f99dc43c4f61546f15ed27485a8c6ec7472bd.tar.gz bun-bc5f99dc43c4f61546f15ed27485a8c6ec7472bd.tar.zst bun-bc5f99dc43c4f61546f15ed27485a8c6ec7472bd.zip |
[internal] Tiny changes that will eventually make it easier to update zig
Diffstat (limited to 'src/string_immutable.zig')
-rw-r--r-- | src/string_immutable.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 4c41b1e63..10f88fab9 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -395,7 +395,7 @@ inline fn eqlComptimeCheckLen(a: string, comptime b: anytype, comptime check_len if (comptime b_ptr == b.len) return true; } - if ((comptime ( len & 1) != 0) and a[b_ptr] != comptime b[b_ptr]) return false; + if ((comptime (len & 1) != 0) and a[b_ptr] != comptime b[b_ptr]) return false; return true; } |