Skip to content

Commit b02be50

Browse files
committed
Mention associated types in the summary and motivation
1 parent 1691e6e commit b02be50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0000-impl-trait-type-aliases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Summary
77
[summary]: #summary
88

9-
Allow type aliases to use `impl Trait`, replacing the prototype `existential type` as a way to declare type aliases for opaque, uniquely inferred types.
9+
Allow type aliases and associated types to use `impl Trait`, replacing the prototype `existential type` as a way to declare type aliases and associated types for opaque, uniquely inferred types.
1010

1111
# Motivation
1212
[motivation]: #motivation
@@ -25,7 +25,7 @@ be implemented with the same semantics as:
2525
existential type Foo: Bar;
2626
```
2727

28-
and that existing placeholder removed.
28+
both as the syntax for type aliases and also for associated types, and that existing placeholder be removed.
2929

3030
Furthermore, this RFC proposes a strategy by which the terminology surrounding `impl Trait` might be transitioned from existentially-type theoretic terminology to type inference terminology, reducing the cognitive complexity of the feature.
3131

0 commit comments

Comments
 (0)