From 9e01cdf341a7866180b3a63d745f3b2d7578d28a Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 23 Oct 2022 18:12:23 +0200 Subject: refactor!: reduce DI container coupling BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods --- src/di_container/binding_map.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/di_container/binding_map.rs') diff --git a/src/di_container/binding_map.rs b/src/di_container/binding_map.rs index 6ecd34c..3a73f7a 100644 --- a/src/di_container/binding_map.rs +++ b/src/di_container/binding_map.rs @@ -81,13 +81,6 @@ where name, }) } - - /// Only used by tests in the `di_container` module. - #[cfg(test)] - pub fn count(&self) -> usize - { - self.bindings.len() - } } #[cfg(test)] -- cgit v1.2.3-18-g5258