Skip to content

Commit

Permalink
Add Clone bound to take_seed
Browse files Browse the repository at this point in the history
Required because of new bound on `take_one_seed`.
  • Loading branch information
phil-opp committed Apr 5, 2024
1 parent 08f607b commit 008b76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ where

pub fn take_seed<'de, S>(&self, seed: S) -> ReadResult<Option<(M, MessageInfo)>>
where
S: serde::de::DeserializeSeed<'de, Value = M>,
S: serde::de::DeserializeSeed<'de, Value = M> + Clone,
M: 'static,
{
self.datareader.drain_read_notifications();
Expand Down

0 comments on commit 008b76c

Please sign in to comment.