Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
maccesch committed Nov 22, 2024
1 parent 83f9422 commit 122f9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/use_websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ where
&& !reconnect_limit.is_exceeded_by(reconnect_times_ref.get_value())
&& ws_signal
.get_untracked()
.map_or(false, |ws: WebSocket| ws.ready_state() != WebSocket::OPEN)
.is_some_and(|ws: WebSocket| ws.ready_state() != WebSocket::OPEN)
&& reconnect_timer_ref.get_value().is_none()
{
reconnect_timer_ref.set_value(
Expand Down

0 comments on commit 122f9c0

Please sign in to comment.