diff options
author | HampusM <hampus@hampusmat.com> | 2022-08-25 20:46:14 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-08-27 14:29:42 +0200 |
commit | d4078c84a83d121a4e3492955359cedb3b404476 (patch) | |
tree | f31fef99fcee6ffd537b7d7adf7981851966feda /src/di_container.rs | |
parent | 626e9e56c23863dce33ef211fa51e49cc5fb48e1 (diff) |
refactor!: limit FactoryPtr & AnyFactory to the factory feature
BREAKING CHANGE: FactoryPtr has been limited to the factory feature
Diffstat (limited to 'src/di_container.rs')
-rw-r--r-- | src/di_container.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/di_container.rs b/src/di_container.rs index 2cda2bf..85b0e7a 100644 --- a/src/di_container.rs +++ b/src/di_container.rs @@ -313,13 +313,6 @@ impl DIContainer } } } - #[cfg(not(feature = "factory"))] - Providable::Factory(_) => { - return Err(DIContainerError::CantHandleFactoryBinding(type_name::< - Interface, - >( - ))); - } } } |