diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-18 21:53:36 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-18 21:53:36 +0200 |
commit | d9fb89865165bdd31807c3fbec2def6d3ebb7b53 (patch) | |
tree | 6bc1c5d92e6d2737c1525c933efbc19f632b0dde /src/interfaces/async_injectable.rs | |
parent | 055a98aec1fe534d78414d630ab5ba2b789cba64 (diff) |
refactor: replace use_dependency_history with a more generic macro
Diffstat (limited to 'src/interfaces/async_injectable.rs')
-rw-r--r-- | src/interfaces/async_injectable.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/async_injectable.rs b/src/interfaces/async_injectable.rs index 2364ae1..56b263d 100644 --- a/src/interfaces/async_injectable.rs +++ b/src/interfaces/async_injectable.rs @@ -7,9 +7,9 @@ use crate::errors::injectable::InjectableError; use crate::future::BoxFuture; use crate::private::cast::CastFromArc; use crate::ptr::TransientPtr; -use crate::util::use_dependency_history; +use crate::util::use_double; -use_dependency_history!(); +use_double!(crate::dependency_history::DependencyHistory); /// Interface for structs that can be injected into or be injected to. pub trait AsyncInjectable<DIContainerType>: CastFromArc |