Skip to content

Commit

Permalink
Merge pull request #1669 from astraw/fix-unsize-typo
Browse files Browse the repository at this point in the history
fix typo referring to 'Unsize' trait
  • Loading branch information
ehuss authored Nov 1, 2024
2 parents 604e682 + ddd9a74 commit da0f6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type-coercions.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ r[coerce.unsized.composite]
* `Foo` is a struct.
* `T` implements `Unsize<U>`.
* The last field of `Foo` has a type involving `T`.
* If that field has type `Bar<T>`, then `Bar<T>` implements `Unsized<Bar<U>>`.
* If that field has type `Bar<T>`, then `Bar<T>` implements `Unsize<Bar<U>>`.
* T is not part of the type of any other fields.

r[coerce.unsized.pointer]
Expand Down

0 comments on commit da0f6da

Please sign in to comment.