diff options
author | HampusM <hampus@hampusmat.com> | 2023-09-01 18:12:33 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-09-01 18:12:33 +0200 |
commit | 89ac2c1713711a6e1b60d5d2d75989f360141ad7 (patch) | |
tree | 410dd0446fa82cede171159a7a50e1646bade5ee /src/provider | |
parent | 55f1f7ebb4b15154e23c238dae7088d4dc1abe96 (diff) |
refactor: remove unnecessary phantom data fields from providers
Diffstat (limited to 'src/provider')
-rw-r--r-- | src/provider/blocking.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/provider/blocking.rs b/src/provider/blocking.rs index 373dabd..bc9134d 100644 --- a/src/provider/blocking.rs +++ b/src/provider/blocking.rs @@ -41,7 +41,6 @@ where { injectable_phantom: PhantomData<InjectableType>, di_container_phantom: PhantomData<DIContainerType>, - dependency_history_phantom: PhantomData<DependencyHistory>, } impl<InjectableType, DIContainerType> @@ -55,7 +54,6 @@ where Self { injectable_phantom: PhantomData, di_container_phantom: PhantomData, - dependency_history_phantom: PhantomData, } } } @@ -87,7 +85,6 @@ where singleton: SingletonPtr<InjectableType>, di_container_phantom: PhantomData<DIContainerType>, - dependency_history_phantom: PhantomData<DependencyHistory>, } impl<InjectableType, DIContainerType> SingletonProvider<InjectableType, DIContainerType> @@ -100,7 +97,6 @@ where Self { singleton, di_container_phantom: PhantomData, - dependency_history_phantom: PhantomData, } } } |