From ac9b15b9685d397bcb005700c0aa524f24eaf1b8 Mon Sep 17 00:00:00 2001 From: DaughterOfMars Date: Fri, 25 Oct 2024 06:49:51 -0400 Subject: [PATCH] chore(typed-store): Remove unused `?Sized` bounds (#3644) --- crates/typed-store/src/traits.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typed-store/src/traits.rs b/crates/typed-store/src/traits.rs index 108d8de0280..b9e9b97a4dd 100644 --- a/crates/typed-store/src/traits.rs +++ b/crates/typed-store/src/traits.rs @@ -11,7 +11,7 @@ use crate::TypedStoreError; pub trait Map<'a, K, V> where - K: Serialize + DeserializeOwned + ?Sized, + K: Serialize + DeserializeOwned, V: Serialize + DeserializeOwned, { type Error: Error; @@ -156,7 +156,7 @@ where #[async_trait] pub trait AsyncMap<'a, K, V> where - K: Serialize + DeserializeOwned + ?Sized + std::marker::Sync, + K: Serialize + DeserializeOwned + std::marker::Sync, V: Serialize + DeserializeOwned + std::marker::Sync + std::marker::Send, { type Error: Error;