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/factory/bootstrap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/factory/bootstrap.rs') diff --git a/examples/factory/bootstrap.rs b/examples/factory/bootstrap.rs index f8bef6e..e535dd2 100644 --- a/examples/factory/bootstrap.rs +++ b/examples/factory/bootstrap.rs @@ -1,8 +1,8 @@ use std::error::Error; use std::rc::Rc; +use syrette::di_container::blocking::prelude::*; use syrette::ptr::TransientPtr; -use syrette::DIContainer; use crate::interfaces::user::{IUser, IUserFactory}; use crate::interfaces::user_manager::IUserManager; -- cgit v1.2.3-18-g5258