aboutsummaryrefslogtreecommitdiff
path: root/src/di_container
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-01-19 20:24:54 +0100
committerHampusM <hampus@hampusmat.com>2023-01-19 20:24:54 +0100
commit17ca46e95af38a914197958bbcc1e759865b6005 (patch)
treea6737586529c5802dd492f63b3aee9087fb31ff0 /src/di_container
parentbd10288adfaabdeb763fecb2f66d7dc4d35b37ee (diff)
refactor: remove unnecessary must_use attributes
Diffstat (limited to 'src/di_container')
-rw-r--r--src/di_container/asynchronous/mod.rs2
1 files changed, 0 insertions, 2 deletions
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<Interface>(
self: &mut Arc<Self>,
) -> AsyncBindingBuilder<Interface, Self, DependencyHistoryType>
@@ -151,7 +150,6 @@ impl AsyncDIContainer
#[async_trait]
impl IAsyncDIContainer<DependencyHistory> for AsyncDIContainer
{
- #[must_use]
fn bind<Interface>(
self: &mut Arc<Self>,
) -> AsyncBindingBuilder<Interface, Self, DependencyHistory>