Browse Source

Remove superfluous Send trait bound

The trait `xtra::MessageChannel` already implies Send.

Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>
feature/actor-custom-derive
Lucas Soriano del Pino 3 years ago
parent
commit
2bb8a7f592
No known key found for this signature in database GPG Key ID: EE611E973A1530E7
  1. 2
      daemon/src/taker_cfd.rs

2
daemon/src/taker_cfd.rs

@ -92,7 +92,7 @@ impl<O, M> Actor<O, M> {
cfd_feed_actor_inbox: watch::Sender<Vec<Cfd>>,
order_feed_actor_inbox: watch::Sender<Option<Order>>,
update_cfd_feed_sender: watch::Sender<UpdateCfdProposals>,
send_to_maker: Box<dyn MessageChannel<wire::TakerToMaker> + Send>,
send_to_maker: Box<dyn MessageChannel<wire::TakerToMaker>>,
monitor_actor: Address<M>,
oracle_actor: Address<O>,
) -> Self {

Loading…
Cancel
Save