diff options
author | Jonathan Halmen <jonathan@halmen.org> | 2021-11-05 17:37:12 +0100 |
---|---|---|
committer | Jonathan Halmen <jonathan@halmen.org> | 2021-11-05 17:47:12 +0100 |
commit | f6de68a1f23722457a0432ce520da668a50b2132 (patch) | |
tree | b89a125af4973d0a7b40121298c8f4fd8e8c9988 /exercises/064_builtins.zig | |
parent | 88886a37d9721763326ff80a7b2c127e4a8cb8ae (diff) | |
download | ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.gz ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.bz2 ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.xz ziglings-f6de68a1f23722457a0432ce520da668a50b2132.zip |
zig fmt
Diffstat (limited to 'exercises/064_builtins.zig')
-rw-r--r-- | exercises/064_builtins.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/064_builtins.zig b/exercises/064_builtins.zig index cd0d717..e1af861 100644 --- a/exercises/064_builtins.zig +++ b/exercises/064_builtins.zig @@ -54,7 +54,7 @@ pub fn main() void { // // Also, check out our fancy formatting! b:0>4 means, "print // as a binary number, zero-pad right-aligned four digits." - print("{b:0>4} + {b:0>4} = {b:0>4} ({})", .{a, b, my_result, overflowed}); + print("{b:0>4} + {b:0>4} = {b:0>4} ({})", .{ a, b, my_result, overflowed }); print(". Furthermore, ", .{}); @@ -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, tupni}); + print("{b:0>8} backwards is {b:0>8}.\n", .{ input, tupni }); } |