Skip to content

Commit

Permalink
Correct sentence about unsized coercions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaneyfx committed Jun 30, 2019
1 parent bccb2c7 commit 1e1a97e
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 @@ -140,7 +140,7 @@ Coercion is allowed between the following types:
- `*mut T`
- `Box<T>`

and where `T` can obtained from `U` by [unsized coercion](#unsized-coercions).
and where `U` can be obtained from `T` by [unsized coercion](#unsized-coercions).

<!--In the future, coerce_inner will be recursively extended to tuples and
structs. In addition, coercions from sub-traits to super-traits will be
Expand Down

0 comments on commit 1e1a97e

Please sign in to comment.