Skip to content
Open
Changes from all 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
2 changes: 1 addition & 1 deletion docs/src/typevariance.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Vectors of type (b) are not a subtype of vectors of type (a), of course, because
Vector{Real} <: Vector{Float64} == false
```

Less clear is that an array of type (a) is also not a subtype of an array of type (b). This is because an array of type (a) *has one constraint* that vectors of type (b) do not. Thus, a vector of type (a) is not a subtype of vectors of type (a), and this translates to the more unnatural
Less clear is that an array of type (a) is also not a subtype of an array of type (b). This is because an array of type (a) *has one constraint* that vectors of type (b) do not. Thus, a vector of type (a) is not a subtype of vectors of type (b), and this translates to the more unnatural
```julia
Vector{Float64} <: Vector{Real} == false
```
Expand Down