Update src/borrow_check/region_inference/constraint_propagation.md

Co-Authored-By: lqd <remy.rakic+github@gmail.com>
This commit is contained in:
Niko Matsakis 2019-06-24 14:33:49 -04:00 committed by Who? Me?!
parent ecfbacb3de
commit 061a3f7da3
1 changed files with 1 additions and 1 deletions

View File

@ -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