style(events): allow clippy::cognitive_complexity for handler
This commit is contained in:
parent
64c96450a4
commit
ca8c9d4d1c
@ -23,7 +23,7 @@ use crate::{
|
||||
replay::recorder::Recorder,
|
||||
};
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[allow(clippy::cognitive_complexity, clippy::too_many_lines)]
|
||||
pub async fn handle_event(client: Client, event: Event, state: State) -> Result<()> {
|
||||
match event {
|
||||
Event::AddPlayer(player_info) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user