Follow NEP1 in NEP1 (#17221)
This commit is contained in:
parent
6c5872c169
commit
4f97898753
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue