about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2020-02-17 13:43:13 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2020-02-17 13:43:13 -0800
commit077a93c6a9b1c8ee0e541ea484f7e13c207d50d0 (patch)
tree84f14a1fe16e047d18dcbc895309f499dcf06894 /src
parent9d423950cc141e110242ff1973f2d7b84c719a86 (diff)
downloadrust-077a93c6a9b1c8ee0e541ea484f7e13c207d50d0.tar.gz
rust-077a93c6a9b1c8ee0e541ea484f7e13c207d50d0.zip
Fix typo in comment
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/dataflow/impls/borrowed_locals.rs2
1 files changed, 1 insertions, 1 deletions
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<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 {