Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo in comment
  • Loading branch information
ecstatic-morse committed Feb 17, 2020
1 parent 9d42395 commit 077a93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/dataflow/impls/borrowed_locals.rs
Expand Up @@ -62,7 +62,7 @@ impl<K> MaybeBorrowedLocals<K> {
///
/// 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
/// 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
pub fn unsound_ignore_borrow_on_drop(self) -> Self {
Expand Down

0 comments on commit 077a93c

Please sign in to comment.