Fix bug & lint

This commit is contained in:
Andras Schmelczer 2025-07-12 14:46:01 +01:00
parent 0f441e38d8
commit 43ad44d594
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
8 changed files with 11 additions and 23 deletions

View file

@ -124,7 +124,5 @@ impl ClientCursorsWithTimeToLive {
}
}
pub fn is_expired(&self, ttl: Duration) -> bool {
self.last_updated.elapsed() > ttl
}
pub fn is_expired(&self, ttl: Duration) -> bool { self.last_updated.elapsed() > ttl }
}