From 4943906abde7dce22c579d4da3b339c58312c39e Mon Sep 17 00:00:00 2001 From: Ansgar Prause Date: Wed, 5 Jul 2023 23:18:20 +0200 Subject: [PATCH] Fix clippy --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index 3e69728..1976f61 100644 --- a/src/client.rs +++ b/src/client.rs @@ -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) } };