From 0ee41f1eb961440ffea64fbcaf194105303379aa Mon Sep 17 00:00:00 2001 From: Luca Cominardi Date: Sat, 2 Mar 2024 15:48:18 +0100 Subject: [PATCH] Fix wrong typedef in publication --- zenoh/src/publication.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zenoh/src/publication.rs b/zenoh/src/publication.rs index 3da06d61b2..9d6892f494 100644 --- a/zenoh/src/publication.rs +++ b/zenoh/src/publication.rs @@ -24,6 +24,7 @@ use crate::Undeclarable; use crate::{ handlers::{Callback, DefaultHandler, IntoCallbackReceiverPair}, sample::Attachment, + Id, }; use std::future::Ready; use zenoh_core::{zread, AsyncResolve, Resolvable, Resolve, SyncResolve}; @@ -37,9 +38,6 @@ use zenoh_protocol::zenoh::PushBody; use zenoh_protocol::zenoh::Put; use zenoh_result::ZResult; -#[cfg(feature = "unstable")] -pub(crate) type Id = usize; - /// The kind of congestion control. pub use zenoh_protocol::core::CongestionControl;