diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -142,8 +142,8 @@ trait Client: Sync { } ``` -The `#[dyn_trait_attr(...)]` attribute lets you attach macro attributes to the -generated dynamized trait. The `#[blanket_impl_attr(...)]` attribute lets you -attach macro attributes to the generated blanket implementation. Note that it -is important that the dynamize attribute comes before the `async_trait` -attribute. +* `#[dyn_trait_attr(foo)]` attaches `#[foo]` to the dynamized trait +* `#[blanket_impl_attr(foo)]` attaches `#[foo]` to the blanket implementation + +Note that it is important that the `#[dynamize]` attribute comes before the +`#[async_trait]` attribute, since dynamize must run before async_trait. |