Skip to content

Commit 17f584b

Browse files
Update to latest zig
zig 0.11.0-dev.3739+939e4d81e
1 parent cc696c5 commit 17f584b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/boyer_moore.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub fn StringFinder(comptime T: type) type {
115115

116116
// Use the bad character table and the good suffix table
117117
// to advance our position
118-
i += std.math.max(
118+
i += @max(
119119
self.bad_char[text[i - 1]],
120120
self.good_suffix[j - 1],
121121
);

0 commit comments

Comments
 (0)