File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ written `type $NAME = impl $BOUND;`.
551
551
This RFC opted to avoid the ` type Foo = impl Trait; ` syntax because of its
552
552
potential teaching difficulties.
553
553
As a result of [ RFC 1951] [ 1951 ] , ` impl Trait ` is sometimes
554
- universal quantiifcation and sometimes existential quantification. By providing
554
+ universal quantification and sometimes existential quantification. By providing
555
555
a separate syntax for "explicit" existential quantification, ` impl Trait ` can
556
556
be taught as a syntactic sugar for generics and existential types. By "just using
557
557
` impl Trait ` " for named existential type declarations,
@@ -561,7 +561,7 @@ This choice has some disadvantages in comparison impl Trait in type aliases:
561
561
562
562
- We introduce another new syntax on top of ` impl Trait ` , which inherently has
563
563
some costs.
564
- - Users can't use it in a nested fashion without creating an addiitonal
564
+ - Users can't use it in a nested fashion without creating an additional
565
565
existential type.
566
566
567
567
Because of these downsides, we are open to reconsidering this question with
You can’t perform that action at this time.
0 commit comments