We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2cb0ed9 + fd6e375 commit c4202a8Copy full SHA for c4202a8
src/trait-bounds.md
@@ -27,7 +27,7 @@ provided on any type in a [where clause]. There are also shorter forms for
27
certain common cases:
28
29
* Bounds written after declaring a [generic parameter][generic]:
30
- `fn f<A: Copy>() {}` is the same as `fn f<A> where A: Copy () {}`.
+ `fn f<A: Copy>() {}` is the same as `fn f<A>() where A: Copy {}`.
31
* In trait declarations as [supertraits]: `trait Circle : Shape {}` is
32
equivalent to `trait Circle where Self : Shape {}`.
33
* In trait declarations as bounds on [associated types]:
0 commit comments