aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <[email protected]>2023-04-19 22:09:32 +0200
committerGitHub <[email protected]>2023-04-19 22:09:32 +0200
commit4435cebe7af97e32f5915b4edcb3c7fe97d8344d (patch)
tree95124154c67e04265e33a2ad10755787627b0ac9 /patches
parent2ed24ab3cfffdf6181462d118157094fdf2f5128 (diff)
parentd6d30934dba19bcc5e44c305f789625414e06f67 (diff)
downloadziglings-4435cebe7af97e32f5915b4edcb3c7fe97d8344d.tar.xz
ziglings-4435cebe7af97e32f5915b4edcb3c7fe97d8344d.zip
Merge pull request #247 from chrboesch/formatting
added first formatting exercise
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/099_formatting.patch5
1 files changed, 5 insertions, 0 deletions
diff --git a/patches/patches/099_formatting.patch b/patches/patches/099_formatting.patch
new file mode 100644
index 0000000..bb25059
--- /dev/null
+++ b/patches/patches/099_formatting.patch
@@ -0,0 +1,5 @@
+108,109c108
+< // what formatting is needed here?
+< print("{???} ", .{(a + 1) * (b + 1)});
+---
+> print("{d:>3} ", .{(a + 1) * (b + 1)});