mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-09 16:39:58 +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:
@@ -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