aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/asynchronous/binding/scope_configurator.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-18 21:53:36 +0200
committerHampusM <hampus@hampusmat.com>2023-08-18 21:53:36 +0200
commitd9fb89865165bdd31807c3fbec2def6d3ebb7b53 (patch)
tree6bc1c5d92e6d2737c1525c933efbc19f632b0dde /src/di_container/asynchronous/binding/scope_configurator.rs
parent055a98aec1fe534d78414d630ab5ba2b789cba64 (diff)
refactor: replace use_dependency_history with a more generic macro
Diffstat (limited to 'src/di_container/asynchronous/binding/scope_configurator.rs')
-rw-r--r--src/di_container/asynchronous/binding/scope_configurator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/di_container/asynchronous/binding/scope_configurator.rs b/src/di_container/asynchronous/binding/scope_configurator.rs
index a4a684b..0b5bad8 100644
--- a/src/di_container/asynchronous/binding/scope_configurator.rs
+++ b/src/di_container/asynchronous/binding/scope_configurator.rs
@@ -10,9 +10,9 @@ use crate::errors::async_di_container::AsyncBindingScopeConfiguratorError;
use crate::interfaces::async_injectable::AsyncInjectable;
use crate::provider::r#async::{AsyncSingletonProvider, AsyncTransientTypeProvider};
use crate::ptr::ThreadsafeSingletonPtr;
-use crate::util::use_dependency_history;
+use crate::util::use_double;
-use_dependency_history!();
+use_double!(crate::dependency_history::DependencyHistory);
/// Scope configurator for a binding for type `Interface` inside a [`IAsyncDIContainer`].
///