diff --git a/zenoh/src/net/runtime/orchestrator.rs b/zenoh/src/net/runtime/orchestrator.rs index 1a3ada13c..c95f47a97 100644 --- a/zenoh/src/net/runtime/orchestrator.rs +++ b/zenoh/src/net/runtime/orchestrator.rs @@ -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 { @@ -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() {