From 3d68119c138c0b51d7f98c9ab85bb896f845313c Mon Sep 17 00:00:00 2001 From: Lyneca Date: Fri, 17 Aug 2018 11:42:43 +1000 Subject: [PATCH] Remove Clone from Peripheral --- src/api/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/mod.rs b/src/api/mod.rs index 54a8411..ab4d1d5 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -176,7 +176,7 @@ pub struct PeripheralProperties { /// Peripheral is the device that you would like to communicate with (the "server" of BLE). This /// struct contains both the current state of the device (its properties, characteristics, etc.) /// as well as functions for communication. -pub trait Peripheral: Send + Sync + Clone + Debug { +pub trait Peripheral: Send + Sync + Debug { /// Returns the address of the peripheral. fn address(&self) -> BDAddr;