fix: remove recursion

This commit is contained in:
Strix 2023-12-04 14:03:49 +01:00
parent 54a99e43e1
commit ffcc399d78
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -1,7 +1,5 @@
use crate::filter::Filter; use crate::filter::Filter;
pub trait Endpoint<T>: Filter<T> { pub trait Endpoint<T>: Filter<T> {
fn handle(&mut self, item: T) { fn handle(&mut self, item: T);
self.handle(item)
}
} }