From e547a237348a31cfe862ef2b9baf1536132469dc Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Tue, 10 Dec 2024 17:45:09 +0100 Subject: [PATCH] Fix doc --- zenoh-ext/src/advanced_publisher.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zenoh-ext/src/advanced_publisher.rs b/zenoh-ext/src/advanced_publisher.rs index e99a87d1a..023e509d5 100644 --- a/zenoh-ext/src/advanced_publisher.rs +++ b/zenoh-ext/src/advanced_publisher.rs @@ -354,7 +354,7 @@ impl<'a> AdvancedPublisher<'a> { /// ``` /// # #[tokio::main] /// # async fn main() { - /// use zenoh_ext::AdvancedSubscriberBuilderExt; + /// use zenoh_ext::AdvancedPublisherBuilderExt; /// /// let session = zenoh::open(zenoh::Config::default()).await.unwrap(); /// let publisher = session.declare_publisher("key/expression").advanced().await.unwrap(); @@ -389,7 +389,7 @@ impl<'a> AdvancedPublisher<'a> { /// ``` /// # #[tokio::main] /// # async fn main() { - /// use zenoh_ext::AdvancedSubscriberBuilderExt; + /// use zenoh_ext::AdvancedPublisherBuilderExt; /// /// let session = zenoh::open(zenoh::Config::default()).await.unwrap(); /// let publisher = session.declare_publisher("key/expression").advanced().await.unwrap(); @@ -423,7 +423,7 @@ impl<'a> AdvancedPublisher<'a> { /// ``` /// # #[tokio::main] /// # async fn main() { - /// use zenoh_ext::AdvancedSubscriberBuilderExt; + /// use zenoh_ext::AdvancedPublisherBuilderExt; /// /// let session = zenoh::open(zenoh::Config::default()).await.unwrap(); /// let publisher = session.declare_publisher("key/expression").advanced().await.unwrap(); @@ -448,7 +448,7 @@ impl<'a> AdvancedPublisher<'a> { /// ```no_run /// # #[tokio::main] /// # async fn main() { - /// use zenoh_ext::AdvancedSubscriberBuilderExt; + /// use zenoh_ext::AdvancedPublisherBuilderExt; /// /// let session = zenoh::open(zenoh::Config::default()).await.unwrap(); /// let publisher = session.declare_publisher("key/expression").advanced().await.unwrap(); @@ -475,7 +475,7 @@ impl<'a> AdvancedPublisher<'a> { /// ``` /// # #[tokio::main] /// # async fn main() { - /// use zenoh_ext::AdvancedSubscriberBuilderExt; + /// use zenoh_ext::AdvancedPublisherBuilderExt; /// /// let session = zenoh::open(zenoh::Config::default()).await.unwrap(); /// let publisher = session.declare_publisher("key/expression").advanced().await.unwrap();