]> git.lizzy.rs Git - rust.git/commitdiff
Get rid of old comment
authorPaul Daniel Faria <Nashenas88@users.noreply.github.com>
Wed, 25 Sep 2019 01:29:52 +0000 (21:29 -0400)
committerPaul Daniel Faria <Nashenas88@users.noreply.github.com>
Mon, 2 Dec 2019 13:30:30 +0000 (08:30 -0500)
src/librustc/mir/mod.rs

index 30958700b1b6a5fddeacfd2defea0e24b99c67cf..d0903e04d16f819cc0c2ee548e9ad06bd8a3a128 100644 (file)
@@ -225,7 +225,6 @@ pub fn unwrap_predecessors(&self) -> &IndexVec<BasicBlock, Vec<BasicBlock>> {
 
     #[inline]
     pub fn predecessors(&mut self) -> &IndexVec<BasicBlock, Vec<BasicBlock>> {
-        // TODO(nashenas88) figure out a way to get rid of this clone
         if self.predecessors_cache.is_none() {
             self.predecessors_cache = Some(self.calculate_predecessors())
         }