Skip to content

Commit a3cbf24

Browse files
Remove a false statement from Unsize docs, add a test
1 parent 4b4a5ae commit a3cbf24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/marker.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ pub trait Sized {
158158
/// - Types implementing a trait `Trait` also implement `Unsize<dyn Trait>`.
159159
/// - Structs `Foo<..., T, ...>` implement `Unsize<Foo<..., U, ...>>` if all of these conditions
160160
/// are met:
161-
/// - `T: Unsize<U>`.
162161
/// - Only the last field of `Foo` has a type involving `T`.
163162
/// - `Bar<T>: Unsize<Bar<U>>`, where `Bar<T>` stands for the actual type of that last field.
164163
///

0 commit comments

Comments
 (0)