aboutsummaryrefslogtreecommitdiff
path: root/lib/std/meta.zig
diff options
context:
space:
mode:
authorxackus <14938807+xackus@users.noreply.github.com>2021-04-11 20:16:17 +0200
committerxackus <14938807+xackus@users.noreply.github.com>2021-04-11 20:16:17 +0200
commit89c41f30c3e62e8b5c03457d1f95dc115a27ef15 (patch)
tree6ce8060db13237523533bb8520dad2c913e94a9a /lib/std/meta.zig
parenta5007d819a0bd4d247602786a36cabae821f52b9 (diff)
downloadzig-89c41f30c3e62e8b5c03457d1f95dc115a27ef15.tar.gz
zig-89c41f30c3e62e8b5c03457d1f95dc115a27ef15.zip
zig fmt
Diffstat (limited to 'lib/std/meta.zig')
-rw-r--r--lib/std/meta.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig
index 122e644bf3..e4e04ab5d2 100644
--- a/lib/std/meta.zig
+++ b/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" {