mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 14:59:14 +00:00
zig fmt
This commit is contained in:
parent
a5007d819a
commit
89c41f30c3
@ -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" {
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user