Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Feb 29, 2024
1 parent 9ae62c9 commit 1a60970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zenoh/src/publication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,8 @@ impl<'a> Publication<'a> {
/// let session = zenoh::open(config::peer()).res().await.unwrap();
/// let publisher = session.declare_publisher("key/expression").res().await.unwrap();
/// publisher.put("Value").with_source_info(SourceInfo {
/// id: publisher.id(),
/// sn: 0,
/// source_id: Some(publisher.id()),
/// source_sn: Some(0),
/// }).res().await.unwrap();
/// # })
/// ```
Expand Down

0 comments on commit 1a60970

Please sign in to comment.