summary refs log tree commit diff stats
path: root/doc/manual/stmts.txt
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2016-09-17 15:52:36 +0200
committerSimon Ruderich <simon@ruderich.org>2016-09-17 15:53:12 +0200
commita9e796e00123150fbb7e4b951670fda2e41161ed (patch)
tree8c4b2e85916ac57b394682c56745197e334c8212 /doc/manual/stmts.txt
parent5bf16439e1eddb93b4c9177530ca6640a32de42b (diff)
downloadNim-a9e796e00123150fbb7e4b951670fda2e41161ed.tar.gz
Misc documentation fixes
Diffstat (limited to 'doc/manual/stmts.txt')
-rw-r--r--doc/manual/stmts.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/stmts.txt b/doc/manual/stmts.txt
index 318738063..fa1cac8e1 100644
--- a/doc/manual/stmts.txt
+++ b/doc/manual/stmts.txt
@@ -462,10 +462,10 @@ While statement
 Example:
 
 .. code-block:: nim
-  echo "Please tell me your password: \n"
+  echo "Please tell me your password:"
   var pw = readLine(stdin)
   while pw != "12345":
-    echo "Wrong password! Next try: \n"
+    echo "Wrong password! Next try:"
     pw = readLine(stdin)