Skip to content

Commit ecbdfcb

Browse files
authored
update example trait name
1 parent 9dc06fb commit ecbdfcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/recursive.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl A for i32 { }
3535
which results in program clauses like:
3636

3737
```notrust
38-
forall<T> { Implemented(Vec<T>: A) :- Implemented(T: MyTrait) }
38+
forall<T> { Implemented(Vec<T>: A) :- Implemented(T: A) }
3939
Implemented(u32: A)
4040
Implemented(i32: A)
4141
```
@@ -94,4 +94,4 @@ The [SLG solver] in contrast starts by exploring `?X = u32` and finds
9494
that it works, and then later tries to explore `?X = i32` and finds that it
9595
fails (because `i32: B` is not true).
9696

97-
[SLG solver]: ./engine.md
97+
[SLG solver]: ./engine.md

0 commit comments

Comments
 (0)