update zig

This commit is contained in:
Mitchell Hashimoto
2023-10-02 08:17:42 -07:00
parent e6128f3327
commit 2b28106837
7 changed files with 10 additions and 10 deletions

View File

@@ -385,7 +385,7 @@ fn cursorCancelCallback(
Unexpected,
};
_ = r catch |err| switch (@as(CancelError, @errSetCast(err))) {
_ = r catch |err| switch (@as(CancelError, @errorCast(err))) {
error.Canceled => {},
else => {
log.warn("error in cursor cancel callback err={}", .{err});