minor whitespace change
This commit is contained in:
parent
875132bf46
commit
33aeadab73
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ proc repeat*(s: string, n: Natural): string {.noSideEffect,
|
||||||
result = newStringOfCap(n * s.len)
|
result = newStringOfCap(n * s.len)
|
||||||
for i in 1..n: result.add(s)
|
for i in 1..n: result.add(s)
|
||||||
|
|
||||||
template spaces*(n: Natural): string = repeat(' ',n)
|
template spaces*(n: Natural): string = repeat(' ', n)
|
||||||
## Returns a String with `n` space characters. You can use this proc
|
## Returns a String with `n` space characters. You can use this proc
|
||||||
## to left align strings. Example:
|
## to left align strings. Example:
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue