Skip to content

Commit

Permalink
Remove unused actor::Context::register_inbox_waker
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Jan 7, 2024
1 parent abec1a2 commit 135693a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/actor/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ impl<M, RT> Context<M, RT> {
&self.rt
}

/// Sets the waker of the inbox to `waker`.
#[doc(hidden)] // Not part of the stable API.
pub fn register_inbox_waker(&mut self, waker: &task::Waker) {
_ = self.inbox.register_waker(waker);
}

#[doc(hidden)] // Not part of the stable API.
pub fn pid(&self) -> usize {
self.inbox.id().as_usize()
Expand Down

0 comments on commit 135693a

Please sign in to comment.