Skip to content

Commit 5e57afc

Browse files
crlf0710compiler-errors
authored andcommitted
Address review comments.
Co-authored-by: Michael Goulet <[email protected]>
1 parent 25e9e65 commit 5e57afc

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
@@ -212,7 +212,7 @@ r[coerce.unsize.trait-object]
212212
* `T` to `dyn U`, when `T` implements `U + Sized`, and `U` is [dyn compatible].
213213

214214
r[coerce.unsize.trait-upcast]
215-
* `dyn T` to `dyn U`, when `T` has `U` as one of its ancestor trait.
215+
* `dyn T` to `dyn U`, when `U` is one of `T`'s supertraits.
216216

217217
r[coerce.unsized.composite]
218218
* `Foo<..., T, ...>` to `Foo<..., U, ...>`, when:

0 commit comments

Comments
 (0)