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

@@ -38,7 +38,7 @@ pub fn main() !MainReturn {
const stderr = std.io.getStdErr().writer();
defer std.os.exit(1);
const ErrSet = @TypeOf(err) || error{Unknown};
switch (@as(ErrSet, @errSetCast(err))) {
switch (@as(ErrSet, @errorCast(err))) {
error.MultipleActions => try stderr.print(
"Error: multiple CLI actions specified. You must specify only one\n" ++
"action starting with the `+` character.\n",