Skip to content

Commit 7f4cad6

Browse files
Address comment nit
1 parent 5e85289 commit 7f4cad6

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_data_structures/obligation_forest

1 file changed

+1
-1
lines changed

src/librustc_data_structures/obligation_forest/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<O: Clone + Debug> ObligationForest<O> {
172172
}
173173

174174
pub fn commit_snapshot(&mut self, snapshot: Snapshot) {
175-
// Look for the first open snapshot (which MUST be the snapshot passed to us, else
175+
// Look for the most recent open snapshot (which MUST be the snapshot passed to us, else
176176
// something went wrong).
177177
let mut commit_at_index = None;
178178
for (index, action) in self.undo_log.iter_mut().enumerate().rev() {

0 commit comments

Comments
 (0)