summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorPer Lilja <perlilja@gmail.com>2015-10-21 13:28:36 +0200
committerPer Lilja <perlilja@gmail.com>2015-10-21 13:28:36 +0200
commit3f8b067a0cace44bb43bdd08561b0efc747fb26c (patch)
tree1e17c3f1968f7b2f97ea9f84ca0098224ff60786 /nim.html.markdown
parentd1a822f96c88855b2cbb649a4ea7b452e4104164 (diff)
parentef6973b13f50063462d28a96ac57e93aed40844c (diff)
Merge pull request #1 from adambard/master
Update fork
Diffstat (limited to 'nim.html.markdown')
-rw-r--r--nim.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim.html.markdown b/nim.html.markdown
index c9548a1c..79271732 100644
--- a/nim.html.markdown
+++ b/nim.html.markdown
@@ -235,7 +235,7 @@ proc ask(question: string): Answer =
else: echo("Please be clear: yes or no")
proc addSugar(amount: int = 2) = # Default amount is 2, returns nothing
- assert(amount > 0 or amount < 9000, "Crazy Sugar")
+ assert(amount > 0 and amount < 9000, "Crazy Sugar")
for a in 1..amount:
echo(a, " sugar...")