Skip to content

Commit 6e3283d

Browse files
authored
Merge pull request #3258 from kraktus/kraktus-patch-1
Fix typo in RFC2071
2 parents aaa09b4 + 7901344 commit 6e3283d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/2071-impl-trait-existential-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ written `type $NAME = impl $BOUND;`.
551551
This RFC opted to avoid the `type Foo = impl Trait;` syntax because of its
552552
potential teaching difficulties.
553553
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
555555
a separate syntax for "explicit" existential quantification, `impl Trait` can
556556
be taught as a syntactic sugar for generics and existential types. By "just using
557557
`impl Trait`" for named existential type declarations,
@@ -561,7 +561,7 @@ This choice has some disadvantages in comparison impl Trait in type aliases:
561561

562562
- We introduce another new syntax on top of `impl Trait`, which inherently has
563563
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
565565
existential type.
566566

567567
Because of these downsides, we are open to reconsidering this question with

0 commit comments

Comments
 (0)