summary refs log tree commit diff stats
path: root/doc/nep1.rst
diff options
context:
space:
mode:
authorDanil Yarantsev <tiberiumk12@gmail.com>2021-03-02 02:23:47 +0300
committerGitHub <noreply@github.com>2021-03-02 02:23:47 +0300
commit4f97898753f8467faaddaa4d066b89deae453ad8 (patch)
tree43c27b83c60d279f695a568db730bd369ba9ff7f /doc/nep1.rst
parent6c5872c1690dcd5f50477aeef0218a0dbbcdd6e6 (diff)
downloadNim-4f97898753f8467faaddaa4d066b89deae453ad8.tar.gz
Follow NEP1 in NEP1 (#17221)
Diffstat (limited to 'doc/nep1.rst')
-rw-r--r--doc/nep1.rst2
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,