Fix typo in comment
This commit is contained in:
parent
9d423950cc
commit
077a93c6a9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue