Skip to content

Commit

Permalink
fix typo: termined -> terminated
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Sep 17, 2024
1 parent 40cc210 commit 9dc828f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capnp-rpc/src/task_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ where
}

/// Returns a future that finishes at the next time when the task set
/// is empty. If the task set is termined, the oneshot will be canceled.
/// is empty. If the task set is terminated, the oneshot will be canceled.
pub fn on_empty(&mut self) -> oneshot::Receiver<()> {
let (s, r) = oneshot::channel();
let _ = self.sender.unbounded_send(EnqueuedTask::OnEmpty(s));
Expand Down

0 comments on commit 9dc828f

Please sign in to comment.