summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-10-08 22:50:04 +0200
committerven <vendethiel@hotmail.fr>2015-10-08 22:50:04 +0200
commitc48b1b533c1eda5374f8afefd63e7089dafb21a5 (patch)
tree7cf6aa1958c84f208fa3bd6536d561cbfba73253 /nim.html.markdown
parent005c2d3bb268b6046aaa0151236ead2841a839d7 (diff)
parent087bc761d527857455e19664f4af99ae972754a5 (diff)
Merge pull request #1393 from aayushranaut/master
Fixes typos and removed useless spaces
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...")