Follow NEP1 in NEP1 (#17221)

This commit is contained in:
Danil Yarantsev 2021-03-02 02:23:47 +03:00 • committed by GitHub
commit 4f97898753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,7 +239,7 @@ Coding Conventions
proc repeat(text: string, x: int): string = proc repeat(text: string, x: int): string =
result = "" result = ""
for i in 0 .. x: for i in 0..x:
result.add($i) result.add($i)
- Use a proc when possible, only using the more powerful facilities of macros, - Use a proc when possible, only using the more powerful facilities of macros,