Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Sep 27, 2024
1 parent d907ead commit 0301cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zenoh/src/net/runtime/orchestrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ impl Runtime {
}
}

/// Returns `true` if a new Transport instance is established between us and `zid` or had already been established.
/// Returns `true` if a new Transport instance is established with `zid` or had already been established.
#[must_use]
async fn connect(&self, zid: &ZenohIdProto, scouted_locators: &[Locator]) -> bool {
if !self.insert_pending_connection(*zid).await {
Expand Down Expand Up @@ -1024,7 +1024,7 @@ impl Runtime {
}
}

/// Returns `true` if a new Transport instance is established between us and `zid` or had already been established.
/// Returns `true` if a new Transport instance is established with `zid` or had already been established.
pub async fn connect_peer(&self, zid: &ZenohIdProto, locators: &[Locator]) -> bool {
let manager = self.manager();
if zid != &manager.zid() {
Expand Down

0 comments on commit 0301cdc

Please sign in to comment.