Skip to content

Commit

Permalink
explain resize! behavior; fixes #9313
Browse files Browse the repository at this point in the history
  • Loading branch information
davidssmith committed Dec 15, 2014
1 parent f91d927 commit 38b8414
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/stdlib/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,9 @@ Dequeues

.. function:: resize!(collection, n) -> collection

Resize collection to contain ``n`` elements.
Resize collection to contain ``n`` elements. If ``n`` is smaller than the current
collection length, the first ``n`` elements will be retained. If ``n`` is larger,
the new elements will not be initialized.

.. function:: append!(collection, items) -> collection.

Expand Down

0 comments on commit 38b8414

Please sign in to comment.