Skip to content

Commit

Permalink
Rollup merge of rust-lang#62049 - crlf0710:patch-2, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix one missing `dyn`.

It's in the documentation of `Unsize`.
  • Loading branch information
Centril authored Jun 22, 2019
2 parents 8696807 + 9a08e16 commit 0f2f993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f2f993

Please sign in to comment.