diff options
author | HampusM <hampus@hampusmat.com> | 2022-08-20 18:15:40 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-08-21 18:17:51 +0200 |
commit | b3e1b993b028bbfa73638236cfbdb50ee478d3f0 (patch) | |
tree | 90281f53b7c3fbf13345a04a9cbc37d99f4681da | |
parent | 105fb86d26a68f201deecf09285ffd782838d898 (diff) |
docs: fix declare_default_factory example
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ macro_rules! di_container_bind { /// // Methods and etc here... /// } /// -/// declare_default_factory!(IParser); +/// declare_default_factory!(dyn IParser); /// ``` /// /// The expanded equivelent of this would be |