diff options
Diffstat (limited to 'src/di_container.rs')
-rw-r--r-- | src/di_container.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/di_container.rs b/src/di_container.rs index 3adee09..2907969 100644 --- a/src/di_container.rs +++ b/src/di_container.rs @@ -349,6 +349,7 @@ impl DIContainer } /// Returns a new [`BindingBuilder`] for the given interface. + #[must_use] pub fn bind<Interface>(self: &mut Rc<Self>) -> BindingBuilder<Interface> where Interface: 'static + ?Sized, |