mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-16 08:04:20 +00:00
Updated & parameters
This commit is contained in:
@@ -1039,7 +1039,7 @@ proc `&` * (x: string, y: char): string {.
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
## assert("ab" & 'c' == "abc")
|
||||
proc `&` * (x: char, y: char): string {.
|
||||
proc `&` * (x, y: char): string {.
|
||||
magic: "ConStrStr", noSideEffect, merge.}
|
||||
## Concatenates `x` and `y` into a string
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user