Changing asArray documentation
in reaction to https://github.com/nim-lang/Nim/pull/6640#discussion_r148367553
This commit is contained in:
parent
70f3226836
commit
3d11ef8511
1 changed files with 2 additions and 2 deletions
|
|
@ -707,8 +707,8 @@ template newSeqWith*(len: int, init: untyped): untyped =
|
|||
when not defined(nimscript):
|
||||
import macros
|
||||
macro asArray*(values: typed, targetType: typedesc): untyped =
|
||||
## converts a static array to an array of type ``targetType`` by converting
|
||||
## each value in the array to the specified type.
|
||||
## applies a type conversion to each of the elements in the specified
|
||||
## array literal. Each element is converted to the ``targetType`` type..
|
||||
##
|
||||
## Example:
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue