mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +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
|
|
@ -45,6 +45,7 @@ use tracing::{info, warn};
|
|||
/// - Send events listed in initial state
|
||||
/// - Send events implied by `name` and `topic`
|
||||
/// - Send invite events
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) async fn create_room_route(
|
||||
body: Ruma<create_room::v3::Request>,
|
||||
) -> Result<create_room::v3::Response> {
|
||||
|
|
@ -580,6 +581,7 @@ pub(crate) async fn get_room_aliases_route(
|
|||
/// - Transfers some state events
|
||||
/// - Moves local aliases
|
||||
/// - Modifies old room power levels to prevent users from speaking
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) async fn upgrade_room_route(
|
||||
body: Ruma<upgrade_room::v3::Request>,
|
||||
) -> Result<upgrade_room::v3::Response> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue