[internal] Tiny changes that will eventually make it easier to update zig

This commit is contained in:
Jarred Sumner
2021-11-01 04:04:18 -07:00
parent 4d4966592e
commit bc5f99dc43
5 changed files with 19 additions and 17 deletions

View File

@@ -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;
}