Skip to content

Commit 99a23f8

Browse files
committed
Associated types: Mention "lazy normalization" somewhere
1 parent c4708f8 commit 99a23f8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/traits/associated-types.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ associated types. The full system consists of several moving parts,
55
which we will introduce one by one:
66

77
- Projection and the `Normalize` predicate
8-
- Skolemization
8+
- Placeholder associated type projections
99
- The `ProjectionEq` predicate
1010
- Integration with unification
1111

@@ -106,9 +106,10 @@ placeholder associated types (see the `TypeName` enum declared in
106106
So far we have seen two ways to answer the question of "When can we
107107
consider an associated type projection equal to another type?":
108108

109-
- the `Normalize` predicate could be used to transform associated type
110-
projections when we knew which impl was applicable;
111-
- **placeholder** associated types can be used when we don't.
109+
- the `Normalize` predicate could be used to transform projections when we
110+
knew which impl applied;
111+
- **placeholder** associated types can be used when we don't. This is also
112+
known as **lazy normalization**.
112113

113114
We now introduce the `ProjectionEq` predicate to bring those two cases
114115
together. The `ProjectionEq` predicate looks like so:

0 commit comments

Comments
 (0)