Remove unused functions

This commit is contained in:
Joscha 2022-08-02 21:10:53 +02:00
parent 1ffe42d868
commit a0b89b3990
3 changed files with 0 additions and 50 deletions

View file

@ -62,10 +62,6 @@ impl<I: Eq + Hash, R> Replies<I, R> {
}
}
pub fn cancel(&mut self, id: &I) {
self.pending.remove(id);
}
pub fn purge(&mut self) {
self.pending.retain(|_, tx| !tx.is_closed());
}