aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/blocking/mod.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-01-19 20:21:17 +0100
committerHampusM <hampus@hampusmat.com>2023-01-19 20:21:17 +0100
commitbd10288adfaabdeb763fecb2f66d7dc4d35b37ee (patch)
tree697f66757382a974a964faac52bb147453ff819a /src/di_container/blocking/mod.rs
parent45533a946c296a3a748a645fb80869f93ad7f09a (diff)
refactor!: make binding builder & configurator methods take self ownership
BREAKING CHANGE: The methods of BindingBuilder, AsyncBuilder, BindingScopeConfigurator, AsyncBindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingWhenConfigurator now take ownership of self
Diffstat (limited to 'src/di_container/blocking/mod.rs')
-rw-r--r--src/di_container/blocking/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/di_container/blocking/mod.rs b/src/di_container/blocking/mod.rs
index de7ef67..cd7065c 100644
--- a/src/di_container/blocking/mod.rs
+++ b/src/di_container/blocking/mod.rs
@@ -137,7 +137,6 @@ impl DIContainer
impl IDIContainer<DependencyHistory> for DIContainer
{
- #[must_use]
fn bind<Interface>(
self: &mut Rc<Self>,
) -> BindingBuilder<Interface, Self, DependencyHistory>