Skip to content

Commit 1a875fc

Browse files
authored
Rollup merge of rust-lang#62049 - crlf0710:patch-2, r=jonas-schievink
Fix one missing `dyn`. It's in the documentation of `Unsize`.
2 parents 3006722 + 9a08e16 commit 1a875fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/marker.rs

Lines changed: 1 addition & 1 deletion
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)