aboutsummaryrefslogtreecommitdiff
path: root/lib/std/meta
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-02-24 21:29:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-02-24 21:29:23 -0700
commit5f35dc0c0d0530d5a1d028c56a763def3d1fd250 (patch)
tree75a0872005d2f0e5a1c12c31072a471e9ea185d8 /lib/std/meta
parentd7049fc8e0709619b8aa6766b37abeae946703b2 (diff)
downloadzig-5f35dc0c0d0530d5a1d028c56a763def3d1fd250.tar.gz
zig-5f35dc0c0d0530d5a1d028c56a763def3d1fd250.zip
zig fmt the std lib
Diffstat (limited to 'lib/std/meta')
-rw-r--r--lib/std/meta/trait.zig8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/std/meta/trait.zig b/lib/std/meta/trait.zig
index 8e54293533..e67f9b9bc4 100644
--- a/lib/std/meta/trait.zig
+++ b/lib/std/meta/trait.zig
@@ -544,15 +544,11 @@ test "std.meta.trait.hasUniqueRepresentation" {
testing.expect(hasUniqueRepresentation(TestStruct3));
- const TestStruct4 = struct {
- a: []const u8
- };
+ const TestStruct4 = struct { a: []const u8 };
testing.expect(!hasUniqueRepresentation(TestStruct4));
- const TestStruct5 = struct {
- a: TestStruct4
- };
+ const TestStruct5 = struct { a: TestStruct4 };
testing.expect(!hasUniqueRepresentation(TestStruct5));