Skip to content

Commit 16c0aae

Browse files
Update src/subtyping.md
Co-authored-by: Ryan Scheel <Ryan.havvy@gmail.com>
1 parent c7a360e commit 16c0aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subtyping.md

Lines changed: 1 addition & 1 deletion
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)