Commit 89c41f30c3
Changed files (2)
lib
std
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();