From accd7e86b2d3d3b92f341bf136a49ef61fb1d8bf Mon Sep 17 00:00:00 2001 From: Leo Lin Date: Sun, 15 Dec 2024 16:41:00 +0800 Subject: [PATCH] fix typo --- src/dropck.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dropck.md b/src/dropck.md index 4063d561..1cbc4264 100644 --- a/src/dropck.md +++ b/src/dropck.md @@ -260,7 +260,7 @@ compiler is not checking the implicit assertion that no potentially expired data The attribute can be applied to any number of lifetime and type parameters. In the following example, we assert that we access no data behind a reference of -lifetime `'b` and that the only uses of `T` will be moves or drops, but omit +lifetime `'b` and that the only uses of `T` will be moved or dropped, but omit the attribute from `'a` and `U`, because we do access data with that lifetime and that type: