about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-09-25 13:03:05 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-09-30 05:23:07 +1000
commit2883c258f1a6dd82f6acd174b71d74e04e645f6d (patch)
treecf3fe230280594b1a0353ac987f0aaeda96e5f7b
parent8a62bb1a1d2ab3f937192c80794252716920c4f0 (diff)
downloadrust-2883c258f1a6dd82f6acd174b71d74e04e645f6d.tar.gz
rust-2883c258f1a6dd82f6acd174b71d74e04e645f6d.zip
Remove an out-of-date sentence in a comment.
-rw-r--r--src/librustc_data_structures/obligation_forest/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_data_structures/obligation_forest/mod.rs b/src/librustc_data_structures/obligation_forest/mod.rs
index 1aac3ef314b..f194fef49e3 100644
--- a/src/librustc_data_structures/obligation_forest/mod.rs
+++ b/src/librustc_data_structures/obligation_forest/mod.rs
@@ -591,9 +591,8 @@ impl<O: ForestObligation> ObligationForest<O> {
         }
     }
 
-    /// Compresses the vector, removing all popped nodes. This adjusts
-    /// the indices and hence invalidates any outstanding
-    /// indices. Cannot be used during a transaction.
+    /// Compresses the vector, removing all popped nodes. This adjusts the
+    /// indices and hence invalidates any outstanding indices.
     ///
     /// Beforehand, all nodes must be marked as `Done` and no cycles
     /// on these nodes may be present. This is done by e.g., `process_cycles`.