From 077a93c6a9b1c8ee0e541ea484f7e13c207d50d0 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Mon, 17 Feb 2020 13:43:13 -0800 Subject: [PATCH] Fix typo in comment --- src/librustc_mir/dataflow/impls/borrowed_locals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/dataflow/impls/borrowed_locals.rs b/src/librustc_mir/dataflow/impls/borrowed_locals.rs index 44693c50eac..95a676c0892 100644 --- a/src/librustc_mir/dataflow/impls/borrowed_locals.rs +++ b/src/librustc_mir/dataflow/impls/borrowed_locals.rs @@ -62,7 +62,7 @@ impl MaybeBorrowedLocals { /// /// 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 {