Skip to content

Commit 8144369

Browse files
Update WellFormed-AssocTy rule in book
Update the description of the WellFormed-AssocTy rule in the Chalk book to match the corresponding implementation [here](https://github.com/rust-lang/chalk/blob/23887fda56ff2f471d521bdef666aac8475781eb/chalk-solve/src/clauses/program_clauses.rs#L826) (it also defined with the same name [here](https://github.com/rust-lang/chalk/blob/23887fda56ff2f471d521bdef666aac8475781eb/chalk-solve/src/clauses/program_clauses.rs#L764)).
1 parent 23887fd commit 8144369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/clauses/lowering_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ type to be well-formed...
320320
// Rule WellFormed-AssocTy
321321
forall<Self, P1..Pn, Pn+1..Pm> {
322322
WellFormed((Trait::AssocType)<Self, P1..Pn, Pn+1..Pm>) :-
323-
Implemented(Self: Trait<P1..Pn>) && WC1
323+
WellFormed(Self: Trait<P1..Pn>) && WellFormed(WC1)
324324
}
325325
```
326326

0 commit comments

Comments
 (0)