Skip to content

Commit

Permalink
fix: publisher should not be clonable (#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo authored Sep 6, 2024
1 parent 6b7ec55 commit 2620ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/api/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2620ff8

Please sign in to comment.