@@ -102,13 +102,13 @@ r[items.traits.dyn-compatible.associated-functions]
102
102
* Dispatchable functions must:
103
103
* Not have any type parameters (although lifetime parameters are allowed).
104
104
* 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:
106
106
* ` &Self ` (i.e. ` &self ` )
107
107
* ` &mut Self ` (i.e ` &mut self ` )
108
108
* [ ` Box<Self> ` ]
109
- * [ ` Rc<Self> ` ]
110
- * [ ` Arc<Self> ` ]
111
- * [ ` Pin<P> ` ] where ` P ` is one of the types above
109
+ * ` Rc<Self> `
110
+ * ` Arc<Self> `
111
+ * ` Pin<P> ` where ` P ` is one of the types above
112
112
* Not have an opaque return type; that is,
113
113
* Not be an ` async fn ` (which has a hidden ` Future ` type).
114
114
* Not have a return position ` impl Trait ` type (` fn example(&self) -> impl Trait ` ).
@@ -383,10 +383,8 @@ fn main() {
383
383
[ trait implementation ] : implementations.md#trait-implementations
384
384
[ `Send` ] : ../special-types-and-traits.md#send
385
385
[ `Sync` ] : ../special-types-and-traits.md#sync
386
- [ `Arc<Self>` ] : ../special-types-and-traits.md#arct
387
386
[ `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
387
+ [ `Receiver` ] : ../special-types-and-traits.md#receiver
390
388
[ `async` ] : functions.md#async-functions
391
389
[ `const` ] : functions.md#const-functions
392
390
[ type namespace ] : ../names/namespaces.md
0 commit comments