Updated & parameters
This commit is contained in:
parent
a7f769c6bd
commit
af1a5f3244
1 changed files with 1 additions and 1 deletions
|
|
@ -1039,7 +1039,7 @@ proc `&` * (x: string, y: char): string {.
|
||||||
##
|
##
|
||||||
## .. code-block:: Nim
|
## .. code-block:: Nim
|
||||||
## assert("ab" & 'c' == "abc")
|
## assert("ab" & 'c' == "abc")
|
||||||
proc `&` * (x: char, y: char): string {.
|
proc `&` * (x, y: char): string {.
|
||||||
magic: "ConStrStr", noSideEffect, merge.}
|
magic: "ConStrStr", noSideEffect, merge.}
|
||||||
## Concatenates `x` and `y` into a string
|
## Concatenates `x` and `y` into a string
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue