Skip to content

Commit 633541c

Browse files
authored
?sized -> ?Sized
1 parent 5f87524 commit 633541c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/trait-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ of the base trait.
1717
Trait objects are written as the optional keyword `dyn` followed by a set of
1818
trait bounds, but with the following restrictions on the trait bounds. All
1919
traits except the first trait must be auto traits, there may not be more than
20-
one lifetime, and opt-out bounds (e.g. `?sized`) are not allowed. Furthermore,
20+
one lifetime, and opt-out bounds (e.g. `?Sized`) are not allowed. Furthermore,
2121
paths to traits may be parenthesized.
2222

2323
For example, given a trait `Trait`, the following are all trait objects:

0 commit comments

Comments
 (0)