Skip to content

Commit

Permalink
server: remove useless trait implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Oct 11, 2023
1 parent a3440cd commit 9efbf75
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions typhon/src/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ enum Msg<Id, T> {
Wait(Id, oneshot::Sender<()>),
}

#[derive(Debug)]
struct TaskHandle {
canceler: Option<oneshot::Sender<()>>,
handle: JoinHandle<()>,
waiters: Vec<oneshot::Sender<()>>,
}

#[derive(Debug)]
pub struct Tasks<Id, T> {
handle: Mutex<Option<JoinHandle<()>>>,
sender: mpsc::Sender<Msg<Id, T>>,
Expand Down

0 comments on commit 9efbf75

Please sign in to comment.