diff options
-rw-r--r-- | doc/nep1.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nep1.rst b/doc/nep1.rst index 952856683..21dc81835 100644 --- a/doc/nep1.rst +++ b/doc/nep1.rst @@ -239,7 +239,7 @@ Coding Conventions proc repeat(text: string, x: int): string = result = "" - for i in 0 .. x: + for i in 0..x: result.add($i) - Use a proc when possible, only using the more powerful facilities of macros, |