Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the version of Documenter.jl #840

Merged
merged 3 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix doctests
  • Loading branch information
hyrodium committed Dec 16, 2022
commit fc9447cb3bf54c5ece1fea239025f4fb533c1a80
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
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
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