Skip to content

Commit

Permalink
Merge pull request #1288 from ohno418/fix-typo-in-hrtb
Browse files Browse the repository at this point in the history
Fix a minor typo in the "Higher-ranked trait bounds" section
  • Loading branch information
ehuss authored Nov 17, 2022
2 parents fc039cf + 4e0edd1 commit 212b1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trait-bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ For example, if `'a` is an unconstrained lifetime parameter, then `i32: 'static`
> _ForLifetimes_ :\
>    `for` [_GenericParams_]
Type bounds may be *higher ranked* over lifetimes. These bounds specify a bound
Trait bounds may be *higher ranked* over lifetimes. These bounds specify a bound
that is true *for all* lifetimes. For example, a bound such as `for<'a> &'a T:
PartialEq<i32>` would require an implementation like

Expand Down

0 comments on commit 212b1c9

Please sign in to comment.