From 3d11ef8511159fcf8ac992d93a9b7ca62a42adb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B8is=C3=A6ther=20Rasch?= Date: Thu, 2 Nov 2017 22:49:43 +0100 Subject: [PATCH] Changing asArray documentation in reaction to https://github.com/nim-lang/Nim/pull/6640#discussion_r148367553 --- lib/pure/collections/sequtils.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 069be9398c..c85927808b 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: ##