Fix small typo in the Drop Check chapter

pull/275/head
Vlad Ion 3 years ago committed by GitHub
parent 55de6fa3c1
commit b825a46d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -318,7 +318,7 @@ directly within it.
In all of the above cases where the `&'a u8` is accessed in the
destructor, adding the `#[may_dangle]`
attribute makes the type vulnerable to misuse that the borrower
attribute makes the type vulnerable to misuse that the borrow
checker will not catch, inviting havoc. It is better to avoid adding
the attribute.

Loading…
Cancel
Save