mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
fixed language changes in @typeInfo
This commit is contained in:
parent
88a8e06489
commit
36d8170d7c
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@
|
||||||
// Returns the innermost struct, enum, or union that a function
|
// Returns the innermost struct, enum, or union that a function
|
||||||
// call is inside.
|
// call is inside.
|
||||||
//
|
//
|
||||||
// 2. @typeInfo(comptime T: type) @import("std").builtin.TypeInfo
|
// 2. @typeInfo(comptime T: type) @import("std").builtin.Type
|
||||||
//
|
//
|
||||||
// Returns information about any type in a TypeInfo union which
|
// Returns information about any type in a data structure which
|
||||||
// will contain different information depending on which type
|
// will contain different information depending on which type
|
||||||
// you're examining.
|
// you're examining.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue