Skip to content

Commit

Permalink
final nit
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <[email protected]>
  • Loading branch information
JoJoDeveloping and RalfJung authored Dec 4, 2024
1 parent 5e5f00c commit f9af18a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/borrow_tracker/tree_borrows/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ impl<'tcx> Tree {
// Record whether we did any change; if not, the invariant is restored and we can stop the traversal.
let mut any_change = false;
for (_, map) in self.rperms.iter_mut_all() {
// Check if this node has a state for this location (or range of locations).
if let Some(perm) = map.get_mut(current) {
// Update the per-location SIFA, recording if it changed.
any_change |=
Expand Down

0 comments on commit f9af18a

Please sign in to comment.