Skip to content

Commit b936305

Browse files
crlf0710compiler-errors
authored andcommitted
Address review comments.
Co-authored-by: Michael Goulet <michael@errs.io>
1 parent fd60187 commit b936305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type-coercions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ an implementation of `Unsize<U>` for `T` will be provided:
172172

173173
* `T` to `dyn U`, when `T` implements `U + Sized`, and `U` is [object safe].
174174

175-
* `dyn T` to `dyn U`, when `T` has `U` as one of its ancestor trait.
175+
* `dyn T` to `dyn U`, when `U` is one of `T`'s supertraits.
176176

177177
* `Foo<..., T, ...>` to `Foo<..., U, ...>`, when:
178178
* `Foo` is a struct.

0 commit comments

Comments
 (0)