mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 16:51: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
|
|
@ -47,6 +47,7 @@ pub(crate) struct Service {
|
|||
}
|
||||
|
||||
impl Service {
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) async fn get_hierarchy(
|
||||
&self,
|
||||
sender_user: &UserId,
|
||||
|
|
@ -306,6 +307,7 @@ impl Service {
|
|||
})
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
fn get_room_chunk(
|
||||
&self,
|
||||
sender_user: &UserId,
|
||||
|
|
|
|||
|
|
@ -607,6 +607,7 @@ impl Service {
|
|||
Ok(pdu_id)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) fn create_hash_and_sign_event(
|
||||
&self,
|
||||
pdu_builder: PduBuilder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue