aboutsummaryrefslogtreecommitdiff
path: root/src/string_immutable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_immutable.zig')
-rw-r--r--src/string_immutable.zig2
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;
}