diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-17 20:03:04 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-17 20:03:04 -0400 |
commit | 4d8b40648ecf90b9f27d2daf7d77f4e66efd5ea5 (patch) | |
tree | f27a85d586aec05ee7d4f864fdf34f92f247821f /exercises/064_builtins.zig | |
parent | d9ed5336ccab9bcc6e52800bba7bf16c818bb20d (diff) | |
download | ziglings-4d8b40648ecf90b9f27d2daf7d77f4e66efd5ea5.tar.gz ziglings-4d8b40648ecf90b9f27d2daf7d77f4e66efd5ea5.tar.bz2 ziglings-4d8b40648ecf90b9f27d2daf7d77f4e66efd5ea5.tar.xz ziglings-4d8b40648ecf90b9f27d2daf7d77f4e66efd5ea5.zip |
Clarity for 062 and tupni for 064
Diffstat (limited to 'exercises/064_builtins.zig')
-rw-r--r-- | exercises/064_builtins.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/064_builtins.zig b/exercises/064_builtins.zig index a9761c2..735ff9d 100644 --- a/exercises/064_builtins.zig +++ b/exercises/064_builtins.zig @@ -70,5 +70,5 @@ pub fn main() void { // this builtin to reverse the bits of a u8 integer. const input: u8 = 0b11110000; const tupni: u8 = @bitReverse(input); - print("{b:0>8} backwards is {b:0>8}.\n", .{input}); + print("{b:0>8} backwards is {b:0>8}.\n", .{input, tupni}); } |