Skip to content

Commit 18483ea

Browse files
committed
fix doctests
1 parent 05dbeda commit 18483ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/priorityqueue.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Verify if priority queue `pq` has `key` in its keys.
144144
# Example
145145
146146
```jldoctest
147-
ulia> pq = PriorityQueue("a" => 1, "b" => 2, "c" => 3)
147+
julia> pq = PriorityQueue("a" => 1, "b" => 2, "c" => 3)
148148
PriorityQueue{String, Int64, Base.Order.ForwardOrdering} with 3 entries:
149149
"a" => 1
150150
"b" => 2

src/stack.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ julia> for i in range(1, 0.2, 5)
9393
julia> s
9494
Stack{Float32}(Deque [Float32[1.0, 0.8, 0.6, 0.4, 0.2]])
9595
96-
julia> first(s)
96+
julia> last(s)
9797
1.0f0
9898
```
9999
"""

0 commit comments

Comments
 (0)