aboutsummaryrefslogtreecommitdiff
path: root/src/async_di_container.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/async_di_container.rs')
-rw-r--r--src/async_di_container.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/async_di_container.rs b/src/async_di_container.rs
index 1ead116..7e01c66 100644
--- a/src/async_di_container.rs
+++ b/src/async_di_container.rs
@@ -402,6 +402,7 @@ impl AsyncDIContainer
}
/// Returns a new [`AsyncBindingBuilder`] for the given interface.
+ #[must_use]
pub fn bind<Interface>(self: &mut Arc<Self>) -> AsyncBindingBuilder<Interface>
where
Interface: 'static + ?Sized,