Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Update src/subtyping.md
Co-authored-by: Ryan Scheel <[email protected]>
  • Loading branch information
pierwill and Havvy authored Jul 27, 2022
commit 36a66c0ccf9f8a5b941b0df9923ece80d8714c83
2 changes: 1 addition & 1 deletion src/subtyping.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Subtyping is implicit and can occur at any stage in type checking or
inference. Subtyping is restricted to two cases:
variance with respect to lifetimes, and between types with higher ranked
variance with respect to lifetimes and between types with higher ranked
lifetimes. If we were to erase lifetimes from types, then the only subtyping
would be due to type equality.

Expand Down