Updated & parameters

This commit is contained in:
apense 2015-07-06 23:02:17 -04:00
commit af1a5f3244

View file

@ -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
## ##