diff options
Diffstat (limited to 'examples/basic')
-rw-r--r-- | examples/basic/bootstrap.rs | 2 | ||||
-rw-r--r-- | examples/basic/main.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/basic/bootstrap.rs b/examples/basic/bootstrap.rs index 2c45676..1cad500 100644 --- a/examples/basic/bootstrap.rs +++ b/examples/basic/bootstrap.rs @@ -1,7 +1,7 @@ use std::error::Error; use std::rc::Rc; -use syrette::DIContainer; +use syrette::di_container::blocking::prelude::*; use crate::animals::cat::Cat; use crate::animals::dog::Dog; diff --git a/examples/basic/main.rs b/examples/basic/main.rs index dbc9215..7b129e9 100644 --- a/examples/basic/main.rs +++ b/examples/basic/main.rs @@ -11,6 +11,7 @@ mod interfaces; use bootstrap::bootstrap; use interfaces::dog::IDog; use interfaces::human::IHuman; +use syrette::di_container::blocking::prelude::*; fn main() -> Result<(), Box<dyn Error>> { |