diff options
| author | xackus <14938807+xackus@users.noreply.github.com> | 2021-04-11 20:16:17 +0200 |
|---|---|---|
| committer | xackus <14938807+xackus@users.noreply.github.com> | 2021-04-11 20:16:17 +0200 |
| commit | 89c41f30c3e62e8b5c03457d1f95dc115a27ef15 (patch) | |
| tree | 6ce8060db13237523533bb8520dad2c913e94a9a /lib/std/meta.zig | |
| parent | a5007d819a0bd4d247602786a36cabae821f52b9 (diff) | |
| download | zig-89c41f30c3e62e8b5c03457d1f95dc115a27ef15.tar.gz zig-89c41f30c3e62e8b5c03457d1f95dc115a27ef15.zip | |
zig fmt
Diffstat (limited to 'lib/std/meta.zig')
| -rw-r--r-- | lib/std/meta.zig | 2 |
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" { |
