From 17ca46e95af38a914197958bbcc1e759865b6005 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 19 Jan 2023 20:24:54 +0100 Subject: refactor: remove unnecessary must_use attributes --- src/di_container/asynchronous/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/di_container') diff --git a/src/di_container/asynchronous/mod.rs b/src/di_container/asynchronous/mod.rs index ad1f44f..19e28a8 100644 --- a/src/di_container/asynchronous/mod.rs +++ b/src/di_container/asynchronous/mod.rs @@ -81,7 +81,6 @@ where DependencyHistoryType: IDependencyHistory + Send + Sync, { /// Returns a new [`AsyncBindingBuilder`] for the given interface. - #[must_use] fn bind( self: &mut Arc, ) -> AsyncBindingBuilder @@ -151,7 +150,6 @@ impl AsyncDIContainer #[async_trait] impl IAsyncDIContainer for AsyncDIContainer { - #[must_use] fn bind( self: &mut Arc, ) -> AsyncBindingBuilder -- cgit v1.2.3-18-g5258