Skip to content

Commit 62105c0

Browse files
authored
Merge pull request #765 from LilithHafner/patch-1
Remove redundant docstring
2 parents 214f3b3 + 6ea7321 commit 62105c0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/heaps/binary_heap.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,7 @@ Removes and returns the element at the top of the heap `h`.
106106
"""
107107
Base.pop!(h::BinaryHeap) = heappop!(h.valtree, h.ordering)
108108

109-
"""
110-
sizehint!(h::BinaryHeap, n::Integer)
111-
112-
Suggest that heap `h` reserve capacity for at least `n` elements. This can improve performance.
113-
"""
109+
# Suggest that heap `h` reserve capacity for at least `n` elements. This can improve performance.
114110
function Base.sizehint!(h::BinaryHeap, n::Integer)
115111
sizehint!(h.valtree, n)
116112
return h

0 commit comments

Comments
 (0)