Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarprause committed Jul 5, 2023
1 parent a5d70f8 commit e39a325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl UnconnectedClient {
.device
.name()
.as_deref()
.map(|name| name == &self.name)
.map(|name| name == self.name)
.unwrap_or(false)
{
return Ok(discovered_device.device);
Expand Down

0 comments on commit e39a325

Please sign in to comment.