diff options
Diffstat (limited to 'examples/async-factory')
-rw-r--r-- | examples/async-factory/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/async-factory/main.rs b/examples/async-factory/main.rs index a441842..f0365a1 100644 --- a/examples/async-factory/main.rs +++ b/examples/async-factory/main.rs @@ -5,10 +5,9 @@ use std::time::Duration; use anyhow::Result; -use syrette::di_container::asynchronous::prelude::*; use syrette::future::BoxFuture; use syrette::ptr::TransientPtr; -use syrette::{declare_default_factory, factory}; +use syrette::{declare_default_factory, factory, AsyncDIContainer}; use tokio::time::sleep; trait IFoo: Send + Sync |