Skip to content

Commit 36a66c0

Browse files
pierwillHavvy
andauthored
Update src/subtyping.md
Co-authored-by: Ryan Scheel <[email protected]>
1 parent 72fea08 commit 36a66c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/subtyping.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

0 commit comments

Comments
 (0)