The Zig Programming Language 0.12.0 Documentationcases are only peers if the error case is just a switch // the pattern `if (x) {...} else |err| blk: { switch (err) {...} }` does not consi // non-error and error case to be peers. var a: error{ error cases are only peers if the error case is just a switch // the pattern `x catch |err| blk: { switch (err) {...} }` does not consider the un // and error case to be peers. const c = a catch0 码力 | 241 页 | 7.37 MB | 1 年前3
共 1 条
- 1













