Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
This commit is contained in:
parent
ecfbacb3de
commit
061a3f7da3
|
|
@ -203,7 +203,7 @@ Values(S1) =
|
|||
In the code, this work starts in the [`propagate_constraints`]
|
||||
function, which iterates over all the SCCs. For each SCC `S1`, we
|
||||
compute its value by first computing the value of its
|
||||
successors. Since SCCs form a DAG, we don't have to be conecrned about
|
||||
successors. Since SCCs form a DAG, we don't have to be concerned about
|
||||
cycles, though we do need to keep a set around to track whether we
|
||||
have already processed a given SCC or not. For each successor `S2`, once
|
||||
we have computed S2's value, we can union those elements into the
|
||||
|
|
|
|||
Loading…
Reference in New Issue