diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-01 20:16:11 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-11-01 20:16:11 +0000 |
| commit | 6af30ec720c3a8f074b61c9003b7e63f78f148a0 (patch) | |
| tree | d1368520e5b0e77af6590de8cf33c8d59ceaa69c /library | |
| parent | 50be22964035027398754e54cd3a497efb00f83e (diff) | |
Remove a false statement from Unsize docs, add a test
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/marker.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs index d396a707b55..39e4abb10e9 100644 --- a/library/core/src/marker.rs +++ b/library/core/src/marker.rs @@ -158,7 +158,6 @@ pub trait Sized { /// - Types implementing a trait `Trait` also implement `Unsize<dyn Trait>`. /// - Structs `Foo<..., T, ...>` implement `Unsize<Foo<..., U, ...>>` if all of these conditions /// are met: -/// - `T: Unsize<U>`. /// - Only the last field of `Foo` has a type involving `T`. /// - `Bar<T>: Unsize<Bar<U>>`, where `Bar<T>` stands for the actual type of that last field. /// |
