mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-02-10 22:24:52 +00:00
Merge pull request 'fix: 071 update TypeInfo field case to .int' (#356) from arthursolomiac/exercises:fix-071-typeinfo-case into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/356
This commit is contained in:
commit
0ceb0df875
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user