diff --git a/domo_lib/src/routing/endpoint.rs b/domo_lib/src/routing/endpoint.rs index 55d8be2..1e622c0 100644 --- a/domo_lib/src/routing/endpoint.rs +++ b/domo_lib/src/routing/endpoint.rs @@ -1,7 +1,5 @@ use crate::filter::Filter; pub trait Endpoint: Filter { - fn handle(&mut self, item: T) { - self.handle(item) - } + fn handle(&mut self, item: T); }