Skip to content

Commit c4202a8

Browse files
authored
Merge pull request #1319 from jamesreprise/patch-1
Syntax correction for trait-bounds.md
2 parents 2cb0ed9 + fd6e375 commit c4202a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trait-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ provided on any type in a [where clause]. There are also shorter forms for
2727
certain common cases:
2828

2929
* Bounds written after declaring a [generic parameter][generic]:
30-
`fn f<A: Copy>() {}` is the same as `fn f<A> where A: Copy () {}`.
30+
`fn f<A: Copy>() {}` is the same as `fn f<A>() where A: Copy {}`.
3131
* In trait declarations as [supertraits]: `trait Circle : Shape {}` is
3232
equivalent to `trait Circle where Self : Shape {}`.
3333
* In trait declarations as bounds on [associated types]:

0 commit comments

Comments
 (0)