We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
?sized
?Sized
1 parent 5f87524 commit 633541cCopy full SHA for 633541c
src/types/trait-object.md
@@ -17,7 +17,7 @@ of the base trait.
17
Trait objects are written as the optional keyword `dyn` followed by a set of
18
trait bounds, but with the following restrictions on the trait bounds. All
19
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,
+one lifetime, and opt-out bounds (e.g. `?Sized`) are not allowed. Furthermore,
21
paths to traits may be parenthesized.
22
23
For example, given a trait `Trait`, the following are all trait objects:
0 commit comments