Skip to content

Commit

Permalink
plus de tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJoDeveloping committed Dec 4, 2024
1 parent 01ebe8e commit e9da567
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/borrow_tracker/tree_borrows/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ impl LocationState {
// A foreign access to a `Disabled` tag will have almost no observable effect.
// It's a theorem that `Disabled` node have no protected initialized children,
// and so this foreign access will never trigger any protector.
// (Intuition: You're either protected initialized, and thus can't become Disabled,
// or you're already Disabled protected, but not initialized, and then can't become
// initialized since that requires a child access, which Disabled blocks.)
// (Intuition: You're either protected initialized, and thus can't become
// or you're already Disabled protected, but not initialized, and then can't
// become initialized since that requires a child access, which Disabled blocks.)
// Further, the children will never be able to read or write again, since they
// have a `Disabled` parents. So this only affects diagnostics, but the
// blocking write will still be identified directly, just at a different tag.
Expand Down

0 comments on commit e9da567

Please sign in to comment.