diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-28 13:12:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-28 13:12:15 +0200 |
| commit | 8e025db59234f0e29d9c331c7d21e775cbd28630 (patch) | |
| tree | 7ffdcc28e2f0a6513607863eedfe9f03d879e704 | |
| parent | 2b5325dbff4021f64181199eaa6d9d34139ce42f (diff) | |
| parent | e82056aedc2ec8fcd133f5106232f8eb5e0792f2 (diff) | |
| download | rust-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.rs | 7 |
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>, |
