about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-28 13:12:15 +0200
committerGitHub <noreply@github.com>2020-04-28 13:12:15 +0200
commit8e025db59234f0e29d9c331c7d21e775cbd28630 (patch)
tree7ffdcc28e2f0a6513607863eedfe9f03d879e704
parent2b5325dbff4021f64181199eaa6d9d34139ce42f (diff)
parente82056aedc2ec8fcd133f5106232f8eb5e0792f2 (diff)
downloadrust-8e025db59234f0e29d9c331c7d21e775cbd28630.tar.gz
rust-8e025db59234f0e29d9c331c7d21e775cbd28630.zip
Rollup merge of #71585 - tshepang:obsolete-comment, r=Dylan-DPC
remove obsolete comment

Not sure if it's better to have an outdated comment or no comment at all (made obsolete by 2b9fea1300b515e0f8929bb3a09d4fb6fef3f0ea).
-rw-r--r--src/librustc_mir/util/elaborate_drops.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustc_mir/util/elaborate_drops.rs b/src/librustc_mir/util/elaborate_drops.rs
index 8286793b532..43fa7b9922d 100644
--- a/src/librustc_mir/util/elaborate_drops.rs
+++ b/src/librustc_mir/util/elaborate_drops.rs
@@ -835,13 +835,6 @@ where
         }
     }
 
-    /// Returns a basic block that drop a place using the context
-    /// and path in `c`. If `mode` is something, also clear `c`
-    /// according to it.
-    ///
-    /// if FLAG(self.path)
-    ///     if let Some(mode) = mode: FLAG(self.path)[mode] = false
-    ///     drop(self.place)
     fn complete_drop(
         &mut self,
         drop_mode: Option<DropFlagMode>,