Skip to content

Commit 1ca482e

Browse files
crlf0710compiler-errors
authored andcommitted
Address review comments.
Co-authored-by: Michael Goulet <[email protected]>
1 parent 4605af9 commit 1ca482e

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

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

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

0 commit comments

Comments
 (0)