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:
Mazdak Farrokhzad 2019-06-23 01:59:16 +02:00 committed by GitHub
commit 0f2f993879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ pub trait Sized {
/// `Unsize` is implemented for:
///
/// - `[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:
/// - `T: Unsize<U>`
/// - Foo is a struct