Skip to content

Commit

Permalink
User subtrait/supertrait, not sub-trait, super-trait.
Browse files Browse the repository at this point in the history
There are definitions of subtrait and supertrait, so use the
official terminology.
  • Loading branch information
waywardmonkeys committed Oct 2, 2021
1 parent e2404ef commit de5e0b0
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 de5e0b0

Please sign in to comment.