don't use space after proc names (#18681)

This commit is contained in:
flywind
2021-08-13 08:57:12 +08:00
committed by GitHub
parent f559319a68
commit 883c04d444

View File

@@ -2726,7 +2726,7 @@ func addf*(s: var string, formatstr: string, a: varargs[string, `$`]) {.rtl,
add s, formatstr[i]
inc(i)
func `%` *(formatstr: string, a: openArray[string]): string {.rtl,
func `%`*(formatstr: string, a: openArray[string]): string {.rtl,
extern: "nsuFormatOpenArray".} =
## 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)
addf(result, formatstr, a)
func `%` *(formatstr, a: string): string {.rtl,
func `%`*(formatstr, a: string): string {.rtl,
extern: "nsuFormatSingleElem".} =
## This is the same as `formatstr % [a]` (see
## `% func<#%25,string,openArray[string]>`_).