Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.27"
Documenter = "1"
18 changes: 9 additions & 9 deletions src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ types.

```jldoctest; setup = :(using DocStringExtensions)
julia> DocStringExtensions.find_tuples(Tuple{String,Number,Int})
1-element Array{DataType,1}:
Tuple{String,Number,Int64}
1-element Vector{DataType}:
Tuple{String, Number, Int64}

julia> DocStringExtensions.find_tuples(Tuple{T} where T <: Integer)
1-element Array{DataType,1}:
Tuple{T<:Integer}
1-element Vector{UnionAll}:
Tuple{T} where T<:Integer

julia> s = Union{
Tuple{Int64},
Expand All @@ -303,12 +303,12 @@ julia> s = Union{
} where U where T;

julia> DocStringExtensions.find_tuples(s)
5-element Array{DataType,1}:
5-element Vector{Type}:
Tuple{Int64}
Tuple{U}
Tuple{T}
Tuple{Int64,T}
Tuple{Int64,T,U}
Tuple{U} where U
Tuple{T} where T
Tuple{Int64, T} where T
Tuple{Int64, T, U} where {T, U}
```
"""
function find_tuples(typesig)
Expand Down