Skip to content

Commit

Permalink
chore: match new version of embassy-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
xgroleau committed Sep 14, 2023
1 parent 5adf0e9 commit a846a67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ector/src/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ pub trait ActorRequest<M, R> {

pub struct RequestManager<A, M, R, MUT = NoopRawMutex>
where
A: ActorAddress<Request<M, R>>,
MUT: RawMutex + 'static,
M: 'static,
R: 'static,
Expand Down Expand Up @@ -149,7 +148,7 @@ where
let message = Request::new(message, self.reply_from.clone().into());
self.addr.notify(message).await;
self.cancelled += 1;
let reply = self.reply_to.recv().await;
let reply = self.reply_to.receive().await;
self.cancelled -= 1;

reply
Expand Down

0 comments on commit a846a67

Please sign in to comment.