diff options
author | Fredrik Høisæther Rasch <fredrik.rasch@gmail.com> | 2017-11-02 22:49:43 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-11-18 14:18:00 +0100 |
commit | 3d11ef8511159fcf8ac992d93a9b7ca62a42adb8 (patch) | |
tree | 88feb41b6228672c59830617e6b81e375639db01 | |
parent | 70f322683607cbee49f584107cf4af6f0ebbd51e (diff) | |
download | Nim-3d11ef8511159fcf8ac992d93a9b7ca62a42adb8.tar.gz |
Changing asArray documentation
in reaction to https://github.com/nim-lang/Nim/pull/6640#discussion_r148367553
-rw-r--r-- | lib/pure/collections/sequtils.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 069be9398..c85927808 100644 --- a/lib/pure/collections/sequtils.nim +++ b/lib/pure/collections/sequtils.nim @@ -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: ## |