Skip to content

Commit 77ea043

Browse files
authored
Merge pull request rust-lang#628 from stephaneyfx/coercions
Correct sentence about unsized coercions
2 parents bccb2c7 + 1e1a97e commit 77ea043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type-coercions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Coercion is allowed between the following types:
140140
- `*mut T`
141141
- `Box<T>`
142142

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

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

0 commit comments

Comments
 (0)