mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-16 08:04:20 +00:00
Follow NEP1 in NEP1 (#17221)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user