aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/binding_map.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-23 18:12:23 +0200
committerHampusM <hampus@hampusmat.com>2022-10-23 18:12:23 +0200
commit9e01cdf341a7866180b3a63d745f3b2d7578d28a (patch)
tree0c036b7b4a68e44b6eb2221bf7beb3c34fe9c1c8 /src/di_container/binding_map.rs
parent740ef47d49e02ae2f2184f4c347d8eba8aee38fd (diff)
refactor!: reduce DI container coupling
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
Diffstat (limited to 'src/di_container/binding_map.rs')
-rw-r--r--src/di_container/binding_map.rs7
1 files changed, 0 insertions, 7 deletions
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)]