about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2020-04-26 15:57:38 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2020-04-26 15:57:38 +0200
commite82056aedc2ec8fcd133f5106232f8eb5e0792f2 (patch)
tree12c442d80d20c861e683d9c710aae0770e866d2f /src
parent0862458dad90a0d80827e22e3f86e33add6d847c (diff)
downloadrust-e82056aedc2ec8fcd133f5106232f8eb5e0792f2.tar.gz
rust-e82056aedc2ec8fcd133f5106232f8eb5e0792f2.zip
remove obsolete comment
Diffstat (limited to 'src')
-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>,