From 9e01cdf341a7866180b3a63d745f3b2d7578d28a Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 23 Oct 2022 18:12:23 +0200 Subject: refactor!: reduce DI container coupling BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods --- examples/generics/bootstrap.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/generics/bootstrap.rs') diff --git a/examples/generics/bootstrap.rs b/examples/generics/bootstrap.rs index 98d03db..4034aa8 100644 --- a/examples/generics/bootstrap.rs +++ b/examples/generics/bootstrap.rs @@ -1,6 +1,7 @@ use std::rc::Rc; -use syrette::{di_container_bind, DIContainer}; +use syrette::di_container::blocking::prelude::*; +use syrette::di_container_bind; use crate::interfaces::printer::IPrinter; use crate::printer::Printer; -- cgit v1.2.3-18-g5258