Skip to content

Commit

Permalink
don't use space after proc names (nim-lang#18681)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored and PMunch committed Mar 28, 2022
1 parent c6c0e7f commit 83b1482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pure/strutils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
##
Expand Down Expand Up @@ -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]>`_).
Expand Down

0 comments on commit 83b1482

Please sign in to comment.