We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e85289 commit 7f4cad6Copy full SHA for 7f4cad6
src/librustc_data_structures/obligation_forest/mod.rs
@@ -172,7 +172,7 @@ impl<O: Clone + Debug> ObligationForest<O> {
172
}
173
174
pub fn commit_snapshot(&mut self, snapshot: Snapshot) {
175
- // Look for the first open snapshot (which MUST be the snapshot passed to us, else
+ // Look for the most recent open snapshot (which MUST be the snapshot passed to us, else
176
// something went wrong).
177
let mut commit_at_index = None;
178
for (index, action) in self.undo_log.iter_mut().enumerate().rev() {
0 commit comments