Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium committed Dec 15, 2022
1 parent 05dbeda commit 18483ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
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

0 comments on commit 18483ea

Please sign in to comment.