diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-25 13:03:05 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-30 05:23:07 +1000 |
| commit | 2883c258f1a6dd82f6acd174b71d74e04e645f6d (patch) | |
| tree | cf3fe230280594b1a0353ac987f0aaeda96e5f7b | |
| parent | 8a62bb1a1d2ab3f937192c80794252716920c4f0 (diff) | |
| download | rust-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.rs | 5 |
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`. |
