Skip to content

Commit

Permalink
refactor: Fix fomatting
Browse files Browse the repository at this point in the history
  • Loading branch information
1c3t3a committed Oct 8, 2023
1 parent 095db3a commit 9f9ed1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion socketio/src/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ impl TryFrom<&Bytes> for Packet {
}

// id
let Some((non_digit_idx, _)) = payload.char_indices().find(|(_, c)| !c.is_ascii_digit()) else {
let Some((non_digit_idx, _)) = payload.char_indices().find(|(_, c)| !c.is_ascii_digit())
else {
return Ok(packet);
};

Expand Down

0 comments on commit 9f9ed1b

Please sign in to comment.