Skip to content

Commit 077a93c

Browse files
Fix typo in comment
1 parent 9d42395 commit 077a93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/dataflow/impls/borrowed_locals.rs

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

0 commit comments

Comments
 (0)