Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith authored Nov 23, 2024
1 parent e2f74bf commit b33aa44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ end

isleaflike(x) = Functors.isleaf(x)

# these are, essentially, Tuple{Vararg{<:T}} using the special property
# these are, essentially, Tuple{Vararg{T}} using the special property
# of tuples that they are type covariant. Using <: here causes warning or error
isleaflike(::Tuple{Vararg{Number}}) = true
isleaflike(::Tuple{Vararg{AbstractArray{<:Number}}}) = true
Expand Down

0 comments on commit b33aa44

Please sign in to comment.