Skip to content

Commit e55890c

Browse files
committed
bench: fix 0.14 compat
1 parent 6402207 commit e55890c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bench.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn call(
4242
if (i == 0) {
4343
// TODO: handle more return cases
4444
const info = @typeInfo(@TypeOf(res));
45-
if (info == .ErrorUnion) {
45+
if (info == .error_union) {
4646
is_error_union = true;
4747
}
4848
}

0 commit comments

Comments
 (0)