Skip to content

Commit dd84a62

Browse files
committed
Fixed second where clause location
1 parent a7a54f5 commit dd84a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/type-aliases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ an [associated type] in a [trait].
4242

4343
Where clauses before the equals sign on a type alias in a [trait impl] (like
4444
`type TypeAlias<T> where T: Foo = Bar<T>`) are deprecated. Where clauses after
45-
the equals sign (like `type TypeAlias<T> where T: Foo = Bar<T>`) are preferred.
45+
the equals sign (like `type TypeAlias<T> = Bar<T> where T: Foo`) are preferred.
4646

4747
[IDENTIFIER]: ../identifiers.md
4848
[_GenericParams_]: generics.md

0 commit comments

Comments
 (0)