enable too_many_lines lint

And just disable it everywhere it fires, I know.
This commit is contained in:
Charles Hall 2024-05-14 19:17:47 -07:00
parent 8ef278d358
commit baab928281
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
19 changed files with 27 additions and 1 deletions

View file

@ -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>> {