Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
guswynn committed Mar 31, 2021
1 parent bab2c58 commit 1151724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/items/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ Object safe traits can be the base trait of a [trait object]. A trait is
*object safe* if it has the following qualities (defined in [RFC 255]):

* All [supertraits] must also be object safe.
* It must not require `Self: Sized` (i.e. `Sized` must not be a [supertrait][supertraits])
* `Sized` must not be a [supertrait][supertraits]. In other words, it must not require `Self: Sized`.
* It must not have any associated constants.
* All associated functions must "dispatchable from a trait object" or "explicitly non-dispatchable from a trait object":
* All associated functions must either be dispatchable from a trait object or be explicitly non-dispatchable:
* Dispatchable functions require:
* Not have any type parameters (although lifetime parameters are allowed),
* Be a [method] that does not use `Self` except in the type of the receiver.
Expand Down

0 comments on commit 1151724

Please sign in to comment.