diff --git a/src/future/builder.rs b/src/future/builder.rs index 73c2d1ca..ca7f52ad 100644 --- a/src/future/builder.rs +++ b/src/future/builder.rs @@ -80,7 +80,7 @@ where eviction_listener: None, expiration_policy: ExpirationPolicy::default(), invalidator_enabled: false, - cache_type: PhantomData::default(), + cache_type: PhantomData, } } } diff --git a/src/sync/builder.rs b/src/sync/builder.rs index 2c9c1f3d..0309e8a0 100644 --- a/src/sync/builder.rs +++ b/src/sync/builder.rs @@ -74,7 +74,7 @@ where eviction_listener: None, expiration_policy: ExpirationPolicy::default(), invalidator_enabled: false, - cache_type: PhantomData::default(), + cache_type: PhantomData, } } }