mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Clarify std.array.assocArray docs
This commit is contained in:
parent
1f249eaf13
commit
1be7e4650a
1 changed files with 4 additions and 1 deletions
|
@ -335,7 +335,10 @@ unittest
|
||||||
Returns a newly allocated associative _array from a range of key/value tuples.
|
Returns a newly allocated associative _array from a range of key/value tuples.
|
||||||
Params: r = An input range of tuples of keys and values.
|
Params: r = An input range of tuples of keys and values.
|
||||||
Returns: A newly allocated associative array out of elements of the input
|
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)
|
See_Also: $(XREF typecons, Tuple)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue