We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4720a79 commit 59dc15fCopy full SHA for 59dc15f
lib/std/meta.zig
@@ -261,7 +261,7 @@ test containerLayout {
261
try testing.expect(containerLayout(U3) == .@"extern");
262
}
263
264
-/// Instead of this function, prefer to use e.g. `@typeInfo(foo).Struct.decls`
+/// Instead of this function, prefer to use e.g. `@typeInfo(foo).@"struct".decls`
265
/// directly when you know what kind of type it is.
266
pub fn declarations(comptime T: type) []const Type.Declaration {
267
return switch (@typeInfo(T)) {
0 commit comments