Fix typo in subtyping

pull/158/head
chansuke 6 years ago committed by Alexis Beingessner
parent e12b1ba8ba
commit 87159b8656

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

Loading…
Cancel
Save