From 87159b8656c00c9ffaf5e0fa6888e26898d5b518 Mon Sep 17 00:00:00 2001 From: chansuke Date: Fri, 2 Aug 2019 23:28:10 +0900 Subject: [PATCH] Fix typo in subtyping --- src/subtyping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtyping.md b/src/subtyping.md index 8fbddd7..9c362a2 100644 --- a/src/subtyping.md +++ b/src/subtyping.md @@ -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.