mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 00:31:24 +01:00
Use #[expect], lint reasons
This commit is contained in:
parent
e14b7f28f2
commit
b09c44a0ca
49 changed files with 157 additions and 161 deletions
|
|
@ -137,7 +137,7 @@ pub(crate) async fn get_room_visibility_route(
|
|||
}))
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[expect(clippy::too_many_lines)]
|
||||
pub(crate) async fn get_public_rooms_filtered_helper(
|
||||
server: Option<&ServerName>,
|
||||
limit: Option<UInt>,
|
||||
|
|
@ -267,7 +267,6 @@ pub(crate) async fn get_public_rooms_filtered_helper(
|
|||
})
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[tracing::instrument]
|
||||
fn room_id_to_chunk(room_id: ruma::OwnedRoomId) -> Result<PublicRoomsChunk> {
|
||||
let canonical_alias = services()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue