Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Dec 10, 2024
1 parent dce3304 commit e547a23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zenoh-ext/src/advanced_publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand All @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit e547a23

Please sign in to comment.