don't use space after proc names (#18681)
This commit is contained in:
parent
f559319a68
commit
883c04d444
1 changed files with 2 additions and 2 deletions
|
|
@ -2726,7 +2726,7 @@ func addf*(s: var string, formatstr: string, a: varargs[string, `$`]) {.rtl,
|
||||||
add s, formatstr[i]
|
add s, formatstr[i]
|
||||||
inc(i)
|
inc(i)
|
||||||
|
|
||||||
func `%` *(formatstr: string, a: openArray[string]): string {.rtl,
|
func `%`*(formatstr: string, a: openArray[string]): string {.rtl,
|
||||||
extern: "nsuFormatOpenArray".} =
|
extern: "nsuFormatOpenArray".} =
|
||||||
## Interpolates a format string with the values from `a`.
|
## Interpolates a format string with the values from `a`.
|
||||||
##
|
##
|
||||||
|
|
@ -2774,7 +2774,7 @@ func `%` *(formatstr: string, a: openArray[string]): string {.rtl,
|
||||||
result = newStringOfCap(formatstr.len + a.len shl 4)
|
result = newStringOfCap(formatstr.len + a.len shl 4)
|
||||||
addf(result, formatstr, a)
|
addf(result, formatstr, a)
|
||||||
|
|
||||||
func `%` *(formatstr, a: string): string {.rtl,
|
func `%`*(formatstr, a: string): string {.rtl,
|
||||||
extern: "nsuFormatSingleElem".} =
|
extern: "nsuFormatSingleElem".} =
|
||||||
## This is the same as `formatstr % [a]` (see
|
## This is the same as `formatstr % [a]` (see
|
||||||
## `% func<#%25,string,openArray[string]>`_).
|
## `% func<#%25,string,openArray[string]>`_).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue