mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
fix: 071 update TypeInfo field case to .int
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
// wouldn't be allowed:
|
// wouldn't be allowed:
|
||||||
//
|
//
|
||||||
// inline for (.{ u8, u16, u32, u64 }) |T| {
|
// inline for (.{ u8, u16, u32, u64 }) |T| {
|
||||||
// print("{} ", .{@typeInfo(T).Int.bits});
|
// print("{} ", .{@typeInfo(T).int.bits});
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// In the above example, we're looping over a list of types,
|
// In the above example, we're looping over a list of types,
|
||||||
|
|||||||
Reference in New Issue
Block a user