From 6486d3cc03e26d85196ecc4f79a2305ca1a8a6bb Mon Sep 17 00:00:00 2001 From: Lee Smet Date: Wed, 20 Sep 2023 15:28:52 +0200 Subject: [PATCH] Fix bad comment on RouteFilter::allow trait method Signed-off-by: Lee Smet --- src/filters.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/filters.rs b/src/filters.rs index b76923f..2bae182 100644 --- a/src/filters.rs +++ b/src/filters.rs @@ -4,8 +4,7 @@ use crate::{babel, subnet::Subnet}; /// configured filters on the local [`Router`](crate::router::Router) will actually be forwarded /// to the [`Router`](crate::router::Router) for processing. pub trait RouteUpdateFilter { - /// Judge an incoming update. This method takes a mutable reference to `self`, to allow it to - /// update internal state. + /// Judge an incoming update. fn allow(&self, update: &babel::Update) -> bool; }