1
Fork 0

Fix typo in comment

This commit is contained in:
Dylan MacKenzie 2020-02-17 13:43:13 -08:00
parent 9d423950cc
commit 077a93c6a9

View file

@ -62,7 +62,7 @@ impl<K> MaybeBorrowedLocals<K> {
/// ///
/// In some contexts, we know that this borrow will never occur. For example, during /// In some contexts, we know that this borrow will never occur. For example, during
/// const-eval, custom drop glue cannot be run. Code that calls this should document the /// const-eval, custom drop glue cannot be run. Code that calls this should document the
/// assumptions that justify `Drop` terminators in this way. /// assumptions that justify ignoring `Drop` terminators in this way.
/// ///
/// [#61069]: https://github.com/rust-lang/rust/pull/61069 /// [#61069]: https://github.com/rust-lang/rust/pull/61069
pub fn unsound_ignore_borrow_on_drop(self) -> Self { pub fn unsound_ignore_borrow_on_drop(self) -> Self {