Skip to content

Commit df680be

Browse files
authored
Correction of type name (#576)
`ConstraintSet` => `OutlivesConstraintSet`
1 parent cb4c200 commit df680be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/borrow_check/region_inference/constraint_propagation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ much faster, as described shortly.
100100

101101
In the code, the set of outlives constraints is given to the region
102102
inference context on creation in a parameter of type
103-
[`ConstraintSet`]. The constraint set is basically just a list of `'a:
103+
[`OutlivesConstraintSet`]. The constraint set is basically just a list of `'a:
104104
'b` constraints.
105105

106106
### The outlives constraint graph and SCCs
@@ -112,7 +112,7 @@ induces an edge `'a -> 'b`. This conversion happens in the
112112
[`RegionInferenceContext::new`] function that creates the inference
113113
context.
114114

115-
[`ConstraintSet`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/borrow_check/constraints/struct.OutlivesConstraintSet.html
115+
[`OutlivesConstraintSet`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/borrow_check/constraints/struct.OutlivesConstraintSet.html
116116
[graph-fn]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/borrow_check/constraints/struct.OutlivesConstraintSet.html#method.graph
117117
[`RegionInferenceContext::new`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/borrow_check/region_infer/struct.RegionInferenceContext.html#method.new
118118

0 commit comments

Comments
 (0)