diff options
author | HampusM <hampus@hampusmat.com> | 2022-11-07 21:01:10 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-11-07 21:01:10 +0100 |
commit | 1b27423ae2f2455c72cc7020051c861227aeeeb5 (patch) | |
tree | 8dbc1392ba63d489f05be0b93d1366a82b7fb7a3 /src/di_container/blocking | |
parent | 0e1308d8ccf3565559084de19a9130975ca8ce78 (diff) |
fix: make factories work again after Rust nightly-2022-11-07
Diffstat (limited to 'src/di_container/blocking')
-rw-r--r-- | src/di_container/blocking/binding/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/di_container/blocking/binding/builder.rs b/src/di_container/blocking/binding/builder.rs index 7aa1755..29422b6 100644 --- a/src/di_container/blocking/binding/builder.rs +++ b/src/di_container/blocking/binding/builder.rs @@ -198,7 +198,7 @@ where BindingBuilderError, > where - Args: 'static, + Args: std::marker::Tuple + 'static, Return: 'static + ?Sized, Interface: Fn<Args, Output = crate::ptr::TransientPtr<Return>>, Func: Fn<(std::rc::Rc<DIContainerType>,), Output = Box<Interface>>, |