diff options
Diffstat (limited to 'examples/generics/bootstrap.rs')
-rw-r--r-- | examples/generics/bootstrap.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/generics/bootstrap.rs b/examples/generics/bootstrap.rs index 98d03db..233cd59 100644 --- a/examples/generics/bootstrap.rs +++ b/examples/generics/bootstrap.rs @@ -1,11 +1,9 @@ -use std::rc::Rc; - use syrette::{di_container_bind, DIContainer}; use crate::interfaces::printer::IPrinter; use crate::printer::Printer; -pub fn bootstrap() -> Rc<DIContainer> +pub fn bootstrap() -> DIContainer { let mut di_container = DIContainer::new(); |