Skip to content

Commit ca8c9d4

Browse files
style(events): allow clippy::cognitive_complexity for handler
1 parent 64c9645 commit ca8c9d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::{
2323
replay::recorder::Recorder,
2424
};
2525

26-
#[allow(clippy::too_many_lines)]
26+
#[allow(clippy::cognitive_complexity, clippy::too_many_lines)]
2727
pub async fn handle_event(client: Client, event: Event, state: State) -> Result<()> {
2828
match event {
2929
Event::AddPlayer(player_info) => {

0 commit comments

Comments
 (0)