Skip to content

Commit e4b5b61

Browse files
authored
Merge pull request #1670 from pazmank/master
trait object constraint correction
2 parents aefcd5c + e00926b commit e4b5b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/trait-object.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Trait objects are written as the keyword `dyn` followed by a set of trait
2424
bounds, but with the following restrictions on the trait bounds.
2525

2626
r[type.trait-object.constraint]
27-
All traits except the first trait must be auto traits, there may not be more than one
27+
There may not be more than one non-auto trait, no more than one
2828
lifetime, and opt-out bounds (e.g. `?Sized`) are not allowed. Furthermore,
2929
paths to traits may be parenthesized.
3030

0 commit comments

Comments
 (0)