From b3e1b993b028bbfa73638236cfbdb50ee478d3f0 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 20 Aug 2022 18:15:40 +0200 Subject: docs: fix declare_default_factory example --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-18-g5258