diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-05-12 19:51:58 +0000 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-05-12 19:51:58 +0000 |
| commit | 54b2b58b6a25bb3efe42014aa78b70282d84793d (patch) | |
| tree | 76392070fef9b76c60961658f90d3d6507ffed59 /patches | |
| parent | 377d184cdcf9a5916b0d834cc327ae8dfdf52666 (diff) | |
| parent | 761fb1a501a73cf553e1ec4ec0d8ab82ff75d6e4 (diff) | |
Merge pull request 'Exercise 097 - Changed the values for better understanding' (#251) from i210 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/251
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/097_bit_manipulation.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/patches/097_bit_manipulation.patch b/patches/patches/097_bit_manipulation.patch index 5303ee1..19ba876 100644 --- a/patches/patches/097_bit_manipulation.patch +++ b/patches/patches/097_bit_manipulation.patch @@ -1,5 +1,5 @@ ---- exercises/097_bit_manipulation.zig 2023-10-03 22:15:22.125574535 +0200 -+++ answers/097_bit_manipulation.zig 2023-10-05 20:04:07.282771124 +0200 +--- exercises/097_bit_manipulation.zig 2025-05-12 21:25:03.395385743 +0200 ++++ answers/097_bit_manipulation.zig 2025-05-12 21:22:57.472986976 +0200 @@ -80,7 +80,7 @@ y ^= x; @@ -7,5 +7,5 @@ - ???; + x ^= y; - print("x = {d}; y = {d}\n", .{ x, y }); + print("x = {b}; y = {b}\n", .{ x, y }); } |
