Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request JuliaLang#6492 from karbarcca/patch-1
Browse files Browse the repository at this point in the history
Missing argument in heappush!
  • Loading branch information
Keno committed Apr 10, 2014
2 parents 951e027 + 14af679 commit d7e797c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/stdlib/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ the heap are given in ascending order.

Return true iff an array is heap-ordered according to the given order.

.. function:: heappush!(v, [ord])
.. function:: heappush!(v, x, [ord])

Given a binary heap-ordered array, push a new element, preserving the heap
Given a binary heap-ordered array, push a new element ``x``, preserving the heap
property. For efficiency, this function does not check that the array is
indeed heap-ordered.

Expand Down

0 comments on commit d7e797c

Please sign in to comment.