Skip to content

Commit

Permalink
Merge pull request JuliaCollections#840 from hyrodium/patch-1
Browse files Browse the repository at this point in the history
Update the version of Documenter.jl
  • Loading branch information
oxinabox committed Dec 16, 2022
2 parents 577774d + fc9447c commit 334f840
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.23"
Documenter = "0.27"
5 changes: 1 addition & 4 deletions src/ordered_robin_dict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,7 @@ julia> pop!(d, "a")
julia> pop!(d, "d")
ERROR: KeyError: key "d" not found
Stacktrace:
[1] pop!(h::OrderedRobinDict{String, Int64}, key::String)
@ DataStructures ~/.julia/dev/DataStructures/src/ordered_robin_dict.jl:357
[2] top-level scope
@ none:1
[...]
julia> pop!(d, "e", 4)
4
Expand Down
2 changes: 1 addition & 1 deletion src/priorityqueue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Verify if priority queue `pq` has `key` in its keys.
# Example
```jldoctest
ulia> pq = PriorityQueue("a" => 1, "b" => 2, "c" => 3)
julia> pq = PriorityQueue("a" => 1, "b" => 2, "c" => 3)
PriorityQueue{String, Int64, Base.Order.ForwardOrdering} with 3 entries:
"a" => 1
"b" => 2
Expand Down
8 changes: 1 addition & 7 deletions src/robin_dict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ Return the value stored for the given key, or if no mapping for the key is prese
```jldoctest
julia> d = RobinDict("a"=>1, "b"=>2, "c"=>3);
julia> get!(d, "a", 5)
1
Expand Down Expand Up @@ -515,17 +514,12 @@ Delete and return the mapping for `key` if it exists in `collection`, otherwise
```jldoctest
julia> d = RobinDict("a"=>1, "b"=>2, "c"=>3);
julia> pop!(d, "a")
1
julia> pop!(d, "d")
ERROR: KeyError: key "d" not found
Stacktrace:
[1] pop!(h::RobinDict{String, Int64}, key0::String)
@ DataStructures ~/.julia/dev/DataStructures/src/robin_dict.jl:505
[2] top-level scope
@ none:1
[...]
julia> pop!(d, "e", 4)
4
Expand Down
2 changes: 1 addition & 1 deletion src/stack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ julia> for i in range(1, 0.2, 5)
julia> s
Stack{Float32}(Deque [Float32[1.0, 0.8, 0.6, 0.4, 0.2]])
julia> first(s)
julia> last(s)
1.0f0
```
"""
Expand Down
8 changes: 1 addition & 7 deletions src/swiss_dict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ Return the value stored for the given key, or if no mapping for the key is prese
```jldoctest
julia> d = SwissDict("a"=>1, "b"=>2, "c"=>3);
julia> get!(d, "a", 5)
1
Expand Down Expand Up @@ -578,17 +577,12 @@ Delete and return the mapping for `key` if it exists in `collection`, otherwise
```jldoctest
julia> d = SwissDict("a"=>1, "b"=>2, "c"=>3);
julia> pop!(d, "a")
1
julia> pop!(d, "d")
ERROR: KeyError: key "d" not found
Stacktrace:
[1] pop!(h::SwissDict{String, Int64}, key::String)
@ DataStructures ~/.julia/dev/DataStructures/src/swiss_dict.jl:599
[2] top-level scope
@ none:1
[...]
julia> pop!(d, "e", 4)
4
Expand Down

0 comments on commit 334f840

Please sign in to comment.