aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/asynchronous/binding/scope_configurator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/di_container/asynchronous/binding/scope_configurator.rs')
-rw-r--r--src/di_container/asynchronous/binding/scope_configurator.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/di_container/asynchronous/binding/scope_configurator.rs b/src/di_container/asynchronous/binding/scope_configurator.rs
index 2271a16..eaedcbe 100644
--- a/src/di_container/asynchronous/binding/scope_configurator.rs
+++ b/src/di_container/asynchronous/binding/scope_configurator.rs
@@ -170,9 +170,9 @@ mod tests
mocks::MockDependencyHistory::new,
);
- assert!(matches!(
- binding_scope_configurator.in_singleton_scope().await,
- Ok(_)
- ));
+ assert!(binding_scope_configurator
+ .in_singleton_scope()
+ .await
+ .is_ok());
}
}