mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
enable too_many_lines lint
And just disable it everywhere it fires, I know.
This commit is contained in:
parent
8ef278d358
commit
baab928281
19 changed files with 27 additions and 1 deletions
|
|
@ -168,6 +168,7 @@ async fn sync_helper_wrapper(
|
|||
.expect("receiver should not be dropped");
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
async fn sync_helper(
|
||||
sender_user: OwnedUserId,
|
||||
sender_device: OwnedDeviceId,
|
||||
|
|
@ -546,7 +547,7 @@ async fn sync_helper(
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::too_many_arguments, clippy::too_many_lines)]
|
||||
async fn load_joined_room(
|
||||
sender_user: &UserId,
|
||||
sender_device: &DeviceId,
|
||||
|
|
@ -1154,6 +1155,7 @@ fn share_encrypted_room(
|
|||
.any(|encrypted| encrypted))
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) async fn sync_events_v4_route(
|
||||
body: Ruma<sync_events::v4::Request>,
|
||||
) -> Result<sync_events::v4::Response, RumaResponse<UiaaResponse>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue