Skip to content

Commit 50a597c

Browse files
committed
type parameter Self is unsized by default
1 parent 8104645 commit 50a597c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/special-types-and-traits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ UnwindSafe>` is a valid type.
135135
## `Sized`
136136

137137
The [`Sized`] trait indicates that the size of this type is known at compile-time; that is, it's not a [dynamically sized type].
138-
[Type parameters] are `Sized` by default, as are [associated types].
138+
[Type parameters] (except `Self` in traits) are `Sized` by default, as are [associated types].
139139
`Sized` is always implemented automatically by the compiler, not by [implementation items].
140140
These implicit `Sized` bounds may be relaxed by using the special `?Sized` bound.
141141

0 commit comments

Comments
 (0)