Skip to content

Commit

Permalink
Merge pull request #1095 from waywardmonkeys/consistent-supertrait-su…
Browse files Browse the repository at this point in the history
…btrait

Use subtrait/supertrait, not sub-trait, super-trait.
  • Loading branch information
ehuss authored Oct 2, 2021
2 parents e2404ef + 8aa82fc commit b5c68b0
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 @@ -147,7 +147,7 @@ Coercion is allowed between the following types:
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
structs. In addition, coercions from subtraits to supertraits will be
added. See [RFC 401] for more details.-->

* Function item types to `fn` pointers
Expand Down

0 comments on commit b5c68b0

Please sign in to comment.