authorgravatar for 14938807+xackus@users.noreply.github.comxackus <14938807+xackus@users.noreply.github.com> 2021-04-11 20:16:17+02:00
committergravatar for 14938807+xackus@users.noreply.github.comxackus <14938807+xackus@users.noreply.github.com> 2021-04-11 20:16:17+02:00
log89c41f30c3e62e8b5c03457d1f95dc115a27ef15
tree6ce8060db13237523533bb8520dad2c913e94a9a
parenta5007d819a0bd4d247602786a36cabae821f52b9

zig fmt


2 files changed, 1 insertions(+), 2 deletions(-)

lib/std/meta.zig+1-1
......@@ -1337,7 +1337,7 @@ test "shuffleVectorIndex" {
13371337
13381338/// Returns whether `error_union` contains an error.
13391339pub fn isError(error_union: anytype) bool {
1340 return if(error_union) |_| false else |_| true;
1340 return if (error_union) |_| false else |_| true;
13411341}
13421342
13431343test "isError" {
src/translate_c.zig-1
......@@ -2358,7 +2358,6 @@ fn transInitListExprVector(
23582358 expr: *const clang.InitListExpr,
23592359 ty: *const clang.Type,
23602360) TransError!Node {
2361
23622361 const qt = getExprQualType(c, @ptrCast(*const clang.Expr, expr));
23632362 const vector_type = try transQualType(c, scope, qt, loc);
23642363 const init_count = expr.getNumInits();