*** Submitted as
https://code.google.com/p/go/source/detail?r=64847a27cdd5 ***
container/heap: Simplify the example.
Using append simplifies the code and makes it work if
the initial capacity of the slice is smaller than the
number of items pushed.
R=golang-dev, gri
CC=golang-dev
https://codereview.appspot.com/6869060
Committer: Robert Griesemer <gri@golang.org>
https://codereview.appspot.com/6869060/