Skip to content

Commit

Permalink
refactor: use BoxReplySender type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
tqwewe committed Oct 21, 2024
1 parent cdda728 commit 8787936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/request/ask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{
error::{self, SendError},
mailbox::{bounded::BoundedMailbox, unbounded::UnboundedMailbox, Mailbox, Signal},
message::{BoxReply, Message},
reply::ReplySender,
reply::{BoxReplySender, ReplySender},
Actor, Reply,
};

Expand All @@ -36,7 +36,7 @@ where
{
mailbox: &'a Mb,
signal: Signal<A>,
rx: oneshot::Receiver<Result<BoxReply, error::BoxSendError>>,
rx: BoxReplySender,
}

/// A request to a remote actor.
Expand Down

0 comments on commit 8787936

Please sign in to comment.