Skip to content

Commit d2028ec

Browse files
Use at deprecate
Co-authored-by: Christopher Rackauckas <[email protected]>
1 parent 502fd78 commit d2028ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataStructures.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,5 @@ module DataStructures
112112
include("splay_tree.jl")
113113

114114
include("deprecations.jl")
115-
const top = first
115+
@deprecate top(h::BinaryHeap) = first(h)
116116
end

0 commit comments

Comments
 (0)