Skip to content

Commit f3a4252

Browse files
committed
Fix docstring bug.
1 parent 25aecc9 commit f3a4252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ranges.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,11 +537,11 @@ Base.Slice(Static(1):100)
537537
julia> inds = (Base.OneTo(100), 1:100, 1:UInt(100), Int32(1):Int32(100))
538538
(Base.OneTo(100), 1:100, 0x0000000000000001:0x0000000000000064, 1:100)
539539
540-
julia> @btime reduce(ArrayInterface._pick_range, $(Ref(inds))[])
540+
julia> @btime reduce(ArrayInterface._pick_range, \$(Ref(inds))[])
541541
9.268 ns (0 allocations: 0 bytes)
542542
Base.Slice(Static(1):100)
543543
544-
julia> @btime ArrayInterface.reduce_tup(ArrayInterface._pick_range, $(Ref(inds))[])
544+
julia> @btime ArrayInterface.reduce_tup(ArrayInterface._pick_range, \$(Ref(inds))[])
545545
2.570 ns (0 allocations: 0 bytes)
546546
Base.Slice(Static(1):100)
547547
```

0 commit comments

Comments
 (0)