style(events): allow clippy::cognitive_complexity for handler

This commit is contained in:
Ryan 2025-04-28 21:00:56 -04:00
parent 64c96450a4
commit ca8c9d4d1c
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

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