From 0301cdc8b24ba94343c63d45d5e0c03edf156f63 Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Fri, 27 Sep 2024 11:51:59 +0200 Subject: [PATCH] Update comments --- zenoh/src/net/runtime/orchestrator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {