Skip to content

Commit 212b1c9

Browse files
authored
Merge pull request #1288 from ohno418/fix-typo-in-hrtb
Fix a minor typo in the "Higher-ranked trait bounds" section
2 parents fc039cf + 4e0edd1 commit 212b1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trait-bounds.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ For example, if `'a` is an unconstrained lifetime parameter, then `i32: 'static`
121121
> _ForLifetimes_ :\
122122
>    `for` [_GenericParams_]
123123
124-
Type bounds may be *higher ranked* over lifetimes. These bounds specify a bound
124+
Trait bounds may be *higher ranked* over lifetimes. These bounds specify a bound
125125
that is true *for all* lifetimes. For example, a bound such as `for<'a> &'a T:
126126
PartialEq<i32>` would require an implementation like
127127

0 commit comments

Comments
 (0)