Commit 89c41f30c3

xackus <14938807+xackus@users.noreply.github.com>
2021-04-11 20:16:17
zig fmt
1 parent a5007d8
Changed files (2)
lib/std/meta.zig
@@ -1337,7 +1337,7 @@ test "shuffleVectorIndex" {
 
 /// Returns whether `error_union` contains an error.
 pub fn isError(error_union: anytype) bool {
-    return if(error_union) |_| false else |_| true;
+    return if (error_union) |_| false else |_| true;
 }
 
 test "isError" {
src/translate_c.zig
@@ -2358,7 +2358,6 @@ fn transInitListExprVector(
     expr: *const clang.InitListExpr,
     ty: *const clang.Type,
 ) TransError!Node {
-
     const qt = getExprQualType(c, @ptrCast(*const clang.Expr, expr));
     const vector_type = try transQualType(c, scope, qt, loc);
     const init_count = expr.getNumInits();