Skip to content

Commit

Permalink
chore(typed-store): Remove unused ?Sized bounds (#3644)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaughterOfMars authored Oct 25, 2024
1 parent 6e6f0ec commit ac9b15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/typed-store/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ac9b15b

Please sign in to comment.