From ea7e654f1f7d4f37f8e12c4b79594a541dd823f8 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 17 Jun 2024 23:14:24 +0200 Subject: [PATCH] docs(iroh-net): A few small fixes from PR review (#2375) ## Description Some minor typos missed earlier. ## Breaking Changes ## Notes & open questions Followup from https://github.com/n0-computer/iroh/pull/2365 ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant. - ~~[ ] Tests if relevant.~~ - ~~[ ] All breaking changes documented.~~ --- iroh-base/src/node_addr.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iroh-base/src/node_addr.rs b/iroh-base/src/node_addr.rs index 505be96b90..a2b7c39f33 100644 --- a/iroh-base/src/node_addr.rs +++ b/iroh-base/src/node_addr.rs @@ -85,9 +85,9 @@ impl NodeAddr { } } - /// Apply the options to `self`. + /// Applies the options to `self`. /// - /// This is use to more tightly control the information stored in a [`NodeAddr`] + /// This is used to more tightly control the information stored in a [`NodeAddr`] /// received from another API. E.g. to ensure a [discovery] service is used the /// `AddrInfoOptions::Id`] option could be used to remove all other addressing details. /// @@ -149,7 +149,7 @@ impl AddrInfo { /// Applies the options to `self`. /// - /// This is use to more tightly control the information stored in ab [`AddrInfo`] + /// This is used to more tightly control the information stored in ab [`AddrInfo`] /// received from another API. E.g. to ensure a [discovery] service is used the /// `AddrInfoOptions::Id`] option could be used to remove all other addressing details. ///