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 a02fb95 commit 00ab939
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use anyhow::anyhow;

use bluest::{Adapter, Characteristic, Device, DeviceId};
use futures_util::StreamExt;
use std::{future::Future, sync::Arc};
use std::sync::Arc;
use tokio::sync::mpsc;
use tracing::{debug, info, warn};

Expand All @@ -20,7 +20,7 @@ pub enum UnconnectedClient {
}

pub struct CharacteristicClient {
adapter: Arc<Adapter>,
_adapter: Arc<Adapter>,
responses: mpsc::Receiver<Vec<u8>>,
characteristic: Arc<Characteristic>,
device: Device,
Expand Down Expand Up @@ -148,7 +148,7 @@ impl Client {
});

Ok(CharacteristicClient {
adapter: Arc::clone(&self.adapter),
_adapter: Arc::clone(&self.adapter),
characteristic,
device: self.device.clone(),
responses: rx,
Expand Down

0 comments on commit 00ab939

Please sign in to comment.