diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-02-24 21:29:01 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-02-24 21:29:23 -0700 |
| commit | 5f35dc0c0d0530d5a1d028c56a763def3d1fd250 (patch) | |
| tree | 75a0872005d2f0e5a1c12c31072a471e9ea185d8 /lib/std/meta | |
| parent | d7049fc8e0709619b8aa6766b37abeae946703b2 (diff) | |
| download | zig-5f35dc0c0d0530d5a1d028c56a763def3d1fd250.tar.gz zig-5f35dc0c0d0530d5a1d028c56a763def3d1fd250.zip | |
zig fmt the std lib
Diffstat (limited to 'lib/std/meta')
| -rw-r--r-- | lib/std/meta/trait.zig | 8 |
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)); |
