Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Dec 22, 2024
1 parent 7fb4e9c commit 9cd1d30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ws/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ pub enum WebSocketEventType<'a> {
}

impl<'a> WebSocketEventType<'a> {
#[allow(clippy::unnecessary_cast)]
fn new(event_id: i32, event_data: &'a esp_websocket_event_data_t) -> Result<Self, EspIOError> {
#[allow(non_upper_case_globals)]
match event_id {
Expand Down

0 comments on commit 9cd1d30

Please sign in to comment.