Rollup merge of #62049 - crlf0710:patch-2, r=jonas-schievink
Fix one missing `dyn`. It's in the documentation of `Unsize`.
This commit is contained in:
commit
0f2f993879
@ -103,7 +103,7 @@ pub trait Sized {
|
|||||||
/// `Unsize` is implemented for:
|
/// `Unsize` is implemented for:
|
||||||
///
|
///
|
||||||
/// - `[T; N]` is `Unsize<[T]>`
|
/// - `[T; N]` is `Unsize<[T]>`
|
||||||
/// - `T` is `Unsize<Trait>` when `T: Trait`
|
/// - `T` is `Unsize<dyn Trait>` when `T: Trait`
|
||||||
/// - `Foo<..., T, ...>` is `Unsize<Foo<..., U, ...>>` if:
|
/// - `Foo<..., T, ...>` is `Unsize<Foo<..., U, ...>>` if:
|
||||||
/// - `T: Unsize<U>`
|
/// - `T: Unsize<U>`
|
||||||
/// - Foo is a struct
|
/// - Foo is a struct
|
||||||
|
Loading…
Reference in New Issue
Block a user