fix: remove recursion
This commit is contained in:
parent
54a99e43e1
commit
ffcc399d78
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue