From 2883c258f1a6dd82f6acd174b71d74e04e645f6d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 25 Sep 2019 13:03:05 +1000 Subject: [PATCH] Remove an out-of-date sentence in a comment. --- src/librustc_data_structures/obligation_forest/mod.rs | 5 ++--- 1 file 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 ObligationForest { } } - /// 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`.