diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-23 01:59:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-23 01:59:16 +0200 |
| commit | 0f2f9938795e8fe395949ffbe0a66f1e2ed748d4 (patch) | |
| tree | 8930c6569ba139f3cabbdcb23c8717ba42d1a4f3 | |
| parent | 869680736d98cb679c5056e3df3c8bb8b1c4272f (diff) | |
| parent | 9a08e168bddac29e54cadc9daa04d7e2d673393b (diff) | |
| download | rust-0f2f9938795e8fe395949ffbe0a66f1e2ed748d4.tar.gz rust-0f2f9938795e8fe395949ffbe0a66f1e2ed748d4.zip | |
Rollup merge of #62049 - crlf0710:patch-2, r=jonas-schievink
Fix one missing `dyn`. It's in the documentation of `Unsize`.
| -rw-r--r-- | src/libcore/marker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index 74f685a6de2..3f4ff7c2f43 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -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 |
