various: auto-fix clippy warnings

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia8f0b1ebd657bb9cdebef9d62413f45a6a6a6964
This commit is contained in:
raf 2026-05-11 13:22:05 +03:00
commit b1f3b4b1ff
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
6 changed files with 8 additions and 0 deletions

View file

@ -32,6 +32,7 @@ pub struct RouteEntry {
}
impl RouteEntry {
#[must_use]
pub fn is_valid(&self) -> bool {
Utc::now() < self.ttl
}