Skip to content

Commit 87159b8

Browse files
chansukeGankra
authored andcommitted
Fix typo in subtyping
1 parent e12b1ba commit 87159b8

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
@@ -247,7 +247,7 @@ Second, and more seriously, lifetimes are only a part of the reference itself. T
247247
type of the referent is shared knowledge, which is why adjusting that type in only
248248
one place (the reference) can lead to issues. But if you shrink down a reference's
249249
lifetime when you hand it to someone, that lifetime information isn't shared in
250-
anyway. There are now two independent references with independent lifetimes.
250+
any way. There are now two independent references with independent lifetimes.
251251
There's no way to mess with original reference's lifetime using the other one.
252252

253253
Or rather, the only way to mess with someone's lifetime is to build a meowing dog.

0 commit comments

Comments
 (0)