enable single_use_lifetimes lint

This commit is contained in:
Charles Hall 2024-05-12 14:49:24 -07:00
parent bc2f7c6826
commit 5d5e28770b
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
4 changed files with 5 additions and 10 deletions

View file

@ -226,11 +226,7 @@ impl Service {
}
#[tracing::instrument(skip(self))]
pub(crate) fn server_in_room<'a>(
&'a self,
server: &ServerName,
room_id: &RoomId,
) -> Result<bool> {
pub(crate) fn server_in_room(&self, server: &ServerName, room_id: &RoomId) -> Result<bool> {
self.db.server_in_room(server, room_id)
}