aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-01-24 21:57:57 +0000
committerBobby <[email protected]>2024-01-24 21:57:57 +0000
commit5dfc4cd608b7345eaf7edf214bf97f5489f25fc3 (patch)
tree95fe0c0cb10dca4ce158e96e98e5c4012346bfa8 /README.md
parent5fb0537d7aa1efa0782658a612dd6a1ead68aa71 (diff)
downloadmana-5dfc4cd608b7345eaf7edf214bf97f5489f25fc3.tar.xz
mana-5dfc4cd608b7345eaf7edf214bf97f5489f25fc3.zip
Updated Documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3626b29..ddbcd46 100644
--- a/README.md
+++ b/README.md
@@ -56,5 +56,9 @@ fn subtract(x, y) {
}
// this will either add x and y if x is less than y, or return the difference between x and y
-let result = if (x < y) { add(x, y) } else { subtract(x, y) };
+let result = if (x < y) {
+ add(x, y)
+} else {
+ subtract(x, y)
+}; // result = 15
``` \ No newline at end of file