Skip to content

Commit 9a08e16

Browse files
authored
Fix one missing dyn.
It's in the documentation of `Unsize`.
1 parent 305930c commit 9a08e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/marker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub trait Sized {
103103
/// `Unsize` is implemented for:
104104
///
105105
/// - `[T; N]` is `Unsize<[T]>`
106-
/// - `T` is `Unsize<Trait>` when `T: Trait`
106+
/// - `T` is `Unsize<dyn Trait>` when `T: Trait`
107107
/// - `Foo<..., T, ...>` is `Unsize<Foo<..., U, ...>>` if:
108108
/// - `T: Unsize<U>`
109109
/// - Foo is a struct

0 commit comments

Comments
 (0)