| author | |
| committer | |
| log | 59dc15fa0ac1253e999a6a0bddd1eac4fa058c77 |
| tree | 0c6a6d67e6c95d319c3fe82e77fdd94d7e45d52f |
| parent | 4720a79477e7f0faf30bcce3ea4bfd3056469a79 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/meta.zig+1-1| ... | ... | @@ -261,7 +261,7 @@ test containerLayout { |
| 261 | 261 | try testing.expect(containerLayout(U3) == .@"extern"); |
| 262 | 262 | } |
| 263 | 263 | |
| 264 | /// Instead of this function, prefer to use e.g. `@typeInfo(foo).Struct.decls` | |
| 264 | /// Instead of this function, prefer to use e.g. `@typeInfo(foo).@"struct".decls` | |
| 265 | 265 | /// directly when you know what kind of type it is. |
| 266 | 266 | pub fn declarations(comptime T: type) []const Type.Declaration { |
| 267 | 267 | return switch (@typeInfo(T)) { |