Skip to content

Commit cf20203

Browse files
committed
fix doctests
1 parent 2af568b commit cf20203

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/utilities.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,12 @@ types.
287287
288288
```jldoctest; setup = :(using DocStringExtensions)
289289
julia> DocStringExtensions.find_tuples(Tuple{String,Number,Int})
290-
1-element Array{DataType,1}:
291-
Tuple{String,Number,Int64}
290+
1-element Vector{DataType}:
291+
Tuple{String, Number, Int64}
292292
293293
julia> DocStringExtensions.find_tuples(Tuple{T} where T <: Integer)
294-
1-element Array{DataType,1}:
295-
Tuple{T<:Integer}
294+
1-element Vector{UnionAll}:
295+
Tuple{T} where T<:Integer
296296
297297
julia> s = Union{
298298
Tuple{Int64},
@@ -303,12 +303,12 @@ julia> s = Union{
303303
} where U where T;
304304
305305
julia> DocStringExtensions.find_tuples(s)
306-
5-element Array{DataType,1}:
306+
5-element Vector{Type}:
307307
Tuple{Int64}
308-
Tuple{U}
309-
Tuple{T}
310-
Tuple{Int64,T}
311-
Tuple{Int64,T,U}
308+
Tuple{U} where U
309+
Tuple{T} where T
310+
Tuple{Int64, T} where T
311+
Tuple{Int64, T, U} where {T, U}
312312
```
313313
"""
314314
function find_tuples(typesig)

0 commit comments

Comments
 (0)