diff --git a/zenoh/src/api/publisher.rs b/zenoh/src/api/publisher.rs index 02cfb406c9..2b13ee32af 100644 --- a/zenoh/src/api/publisher.rs +++ b/zenoh/src/api/publisher.rs @@ -134,7 +134,7 @@ impl std::fmt::Debug for PublisherRef<'_> { /// subscriber.stream().map(Ok).forward(publisher).await.unwrap(); /// # } /// ``` -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct Publisher<'a> { pub(crate) session: SessionRef<'a>, pub(crate) id: Id,