Remove unused functions
This commit is contained in:
parent
1ffe42d868
commit
a0b89b3990
3 changed files with 0 additions and 50 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue