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 00ab939 commit 4943906
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 @@ -61,7 +61,7 @@ impl UnconnectedClient {
let name = match &self {
Self::Name(name) => name,
Self::DeviceId(device_id) => {
return adapter.open_device(&device_id).await.map_err(Into::into)
return adapter.open_device(device_id).await.map_err(Into::into)
}
};

Expand Down

0 comments on commit 4943906

Please sign in to comment.