Skip to content

Commit

Permalink
Fix build with serde
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Garrisi committed Aug 9, 2024
1 parent de363e4 commit e225d1b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,11 @@ mod serde {

use serde::ser::{Serialize, SerializeSeq, Serializer};

impl<I, P, H> Serialize for Store<I, P, H> {
impl<I, P, H> Serialize for Store<I, P, H>
where
I: Serialize,
P: Serialize,
{
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
Expand Down

0 comments on commit e225d1b

Please sign in to comment.