Skip to content

Commit 01021c9

Browse files
authored
Merge pull request #571 from NHDaly/patch-1
Make `SortedSet{K}` be a subtype of `AbstractSet{K}`.
2 parents 3170a86 + ea51f3e commit 01021c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DataStructures"
22
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
3-
version = "0.17.12"
3+
version = "0.17.13"
44

55
[deps]
66
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"

src/sorted_set.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Construct a SortedSet using keys given by iterable `iter` (e.g., an
1515
array) and ordering object `o`. The ordering object defaults to
1616
`Forward` if not specified.
1717
"""
18-
mutable struct SortedSet{K, Ord <: Ordering}
18+
mutable struct SortedSet{K, Ord <: Ordering} <: AbstractSet{K}
1919
bt::BalancedTree23{K,Nothing,Ord}
2020

2121
function SortedSet{K,Ord}(o::Ord=Forward, iter=[]) where {K,Ord<:Ordering}

0 commit comments

Comments
 (0)