@@ -102,13 +102,13 @@ r[items.traits.dyn-compatible.associated-functions]
102102 * Dispatchable functions must:
103103 * Not have any type parameters (although lifetime parameters are allowed).
104104 * Be a [ method] that does not use ` Self ` except in the type of the receiver.
105- * Have a receiver with one of the following types:
105+ * Have a receiver implementing [ ` Receiver ` ] , for example one of the following types:
106106 * ` &Self ` (i.e. ` &self ` )
107107 * ` &mut Self ` (i.e ` &mut self ` )
108- * [ ` Box<Self> ` ]
109- * [ ` Rc<Self> ` ]
110- * [ ` Arc<Self> ` ]
111- * [ ` Pin<P> ` ] where ` P ` is one of the types above
108+ * ` Box<Self> `
109+ * ` Rc<Self> `
110+ * ` Arc<Self> `
111+ * ` Pin<P> ` where ` P ` is one of the types above
112112 * Not have an opaque return type; that is,
113113 * Not be an ` async fn ` (which has a hidden ` Future ` type).
114114 * Not have a return position ` impl Trait ` type (` fn example(&self) -> impl Trait ` ).
@@ -383,10 +383,7 @@ fn main() {
383383[ trait implementation ] : implementations.md#trait-implementations
384384[ `Send` ] : ../special-types-and-traits.md#send
385385[ `Sync` ] : ../special-types-and-traits.md#sync
386- [ `Arc<Self>` ] : ../special-types-and-traits.md#arct
387- [ `Box<Self>` ] : ../special-types-and-traits.md#boxt
388- [ `Pin<P>` ] : ../special-types-and-traits.md#pinp
389- [ `Rc<Self>` ] : ../special-types-and-traits.md#rct
386+ [ `Receiver` ] : ../special-types-and-traits.md#receiver
390387[ `async` ] : functions.md#async-functions
391388[ `const` ] : functions.md#const-functions
392389[ type namespace ] : ../names/namespaces.md
0 commit comments