Skip to content

Commit

Permalink
chore: improve the order of generic params for MessageChannel (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
yjhmelody authored May 8, 2024
1 parent ce922b5 commit f9c4704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtra/src/message_channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub struct MessageChannel<M, R, Rc = Strong> {
inner: Box<dyn MessageChannelTrait<M, Rc, Return = R> + Send + Sync + 'static>,
}

impl<M, Rc, R> MessageChannel<M, R, Rc>
impl<M, R, Rc> MessageChannel<M, R, Rc>
where
M: Send + 'static,
R: Send + 'static,
Expand Down

0 comments on commit f9c4704

Please sign in to comment.