]> git.lizzy.rs Git - rust.git/commitdiff
Fix one missing `dyn`.
authorCrLF0710 <crlf0710@gmail.com>
Sat, 22 Jun 2019 10:35:43 +0000 (18:35 +0800)
committerGitHub <noreply@github.com>
Sat, 22 Jun 2019 10:35:43 +0000 (18:35 +0800)
It's in the documentation of `Unsize`.

src/libcore/marker.rs

index 74f685a6de20ed64373a15386853e0433254ea92..3f4ff7c2f437e71197d0911e426a02668940d951 100644 (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