Skip to content

Commit

Permalink
Clarify std.array.assocArray docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Øvrum committed Jan 8, 2016
1 parent 1f249ea commit 1be7e46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion std/array.d
Expand Up @@ -335,7 +335,10 @@ unittest
Returns a newly allocated associative _array from a range of key/value tuples.
Params: r = An input range of tuples of keys and values.
Returns: A newly allocated associative array out of elements of the input
range, which must be a range of tuples (Key, Value).
range, which must be a range of tuples (Key, Value). Returns a null associative
array reference when given an empty range.
Duplicates: Associative arrays have unique keys. If r contains duplicate keys,
then the result will contain the value of the last pair for that key in r.
See_Also: $(XREF typecons, Tuple)
*/

Expand Down

0 comments on commit 1be7e46

Please sign in to comment.