diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-20 19:11:06 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-20 19:19:29 +0100 |
commit | ce4cdcc21f86246474969051f6e0345f900086c3 (patch) | |
tree | ad1881f6e859e4303d8e2bf630dc9759312695a5 /README.md | |
parent | 9044eb941a310e4120dab93a43e6630efef72e4a (diff) |
update README and error to reflect auto-boxing
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ let object = &client as &dyn DynClient; ``` 1. You add the `#[dynamize::dynamize]` attribute to your trait. -2. You specify an `Into<T>` bound for each associated type. +2. You specify a trait bound for each associated type. Dynamize defines a new trait for you, named after your trait but with the `Dyn` prefix, so e.g. `Client` becomes `DynClient` in our example. The new |