Skip to content

Commit 5d7bec0

Browse files
authoredJun 10, 2021
Merge pull request #275 from vlad-ion/patch-1
Fix small typo in the Drop Check chapter
2 parents 55de6fa + b825a46 commit 5d7bec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/dropck.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ directly within it.
318318

319319
In all of the above cases where the `&'a u8` is accessed in the
320320
destructor, adding the `#[may_dangle]`
321-
attribute makes the type vulnerable to misuse that the borrower
321+
attribute makes the type vulnerable to misuse that the borrow
322322
checker will not catch, inviting havoc. It is better to avoid adding
323323
the attribute.
324324

0 commit comments

Comments
 (0)
Please sign in to comment.