aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-08-20 18:15:40 +0200
committerHampusM <hampus@hampusmat.com>2022-08-21 18:17:51 +0200
commitb3e1b993b028bbfa73638236cfbdb50ee478d3f0 (patch)
tree90281f53b7c3fbf13345a04a9cbc37d99f4681da /src/lib.rs
parent105fb86d26a68f201deecf09285ffd782838d898 (diff)
docs: fix declare_default_factory example
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5cc0cb3..ae580ab 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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