mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-06-07 08:14:47 +00:00
Merge pull request 'fixed language changes in @typeInfo' (#13) from fix_i12 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/13
This commit is contained in:
commit
e314608f3a
@ -24,9 +24,9 @@
|
||||
// Returns the innermost struct, enum, or union that a function
|
||||
// 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
|
||||
// you're examining.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user