style(clippy): Elide lifetimes
This commit is contained in:
parent
eaf6a889c2
commit
35320cf0d4
1 changed files with 1 additions and 3 deletions
|
|
@ -188,9 +188,7 @@ impl Service {
|
|||
}
|
||||
|
||||
#[tracing::instrument(skip(self), level = "debug")]
|
||||
pub fn all_local_aliases<'a>(
|
||||
&'a self,
|
||||
) -> impl Stream<Item = (&'a RoomId, &'a str)> + Send + 'a {
|
||||
pub fn all_local_aliases(&self) -> impl Stream<Item = (&RoomId, &str)> + Send + '_ {
|
||||
self.db
|
||||
.alias_roomid
|
||||
.stream()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue