diff options
author | Miran <narimiran@disroot.org> | 2020-11-20 12:31:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 03:31:06 -0800 |
commit | 1ad7e4f30b687564d76272fcd25f13cf98ff3d69 (patch) | |
tree | 7481bb52db566eafdc92b89d9785f0c3cbf13b31 /doc | |
parent | 81a03238eda4955dba2a6949aa6f3fe62d186ea7 (diff) | |
download | Nim-1ad7e4f30b687564d76272fcd25f13cf98ff3d69.tar.gz |
fix #16047 (#16066)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tut1.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst index 415a44f5f..cb4dc1cc9 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -472,13 +472,15 @@ innermost construct, unless a label of a block is given: echo "looping" break # leaves the loop, but not the block echo "still in block" + echo "outside the block" block myblock2: echo "entering block" while true: echo "looping" break myblock2 # leaves the block (and the loop) - echo "still in block" + echo "still in block" # it won't be printed + echo "outside the block" Continue statement |