Skip to content

Commit

Permalink
internal doc test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jun 11, 2024
1 parent 41b1abf commit 4a107f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io/zenoh-transport/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ use crate::multicast::manager::{
/// ```
/// use std::sync::Arc;
/// use std::time::Duration;
/// use zenoh_protocol::core::{ZenohId, Resolution, Field, Bits, WhatAmI, whatami};
/// use zenoh_protocol::core::{ZenohIdInner, Resolution, Field, Bits, WhatAmI, whatami};
/// use zenoh_transport::*;
/// use zenoh_result::ZResult;
///
Expand Down Expand Up @@ -85,7 +85,7 @@ use crate::multicast::manager::{
/// let mut resolution = Resolution::default();
/// resolution.set(Field::FrameSN, Bits::U8);
/// let manager = TransportManager::builder()
/// .zid(ZenohId::rand())
/// .zid(ZenohIdInner::rand().into())
/// .whatami(WhatAmI::Peer)
/// .batch_size(1_024) // Use a batch size of 1024 bytes
/// .resolution(resolution) // Use a sequence number resolution of 128
Expand Down

0 comments on commit 4a107f4

Please sign in to comment.