Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed May 31, 2024
1 parent 95d94b9 commit 4481bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl PiConnections {
}

fn is_alive(&self, device_id: DeviceId) -> bool {
self.0.get(&device_id).is_some()
self.0.contains_key(&device_id)
}

fn insert(&mut self, ws_sender: WsSender) {
Expand Down

0 comments on commit 4481bdf

Please sign in to comment.