Skip to content

Commit

Permalink
docs(iroh-net): A few small fixes from PR review (#2375)
Browse files Browse the repository at this point in the history
## Description

Some minor typos missed earlier.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

Followup from #2365

## Change checklist

- [x] Self-review.
- [x] Documentation updates if relevant.
- ~~[ ] Tests if relevant.~~
- ~~[ ] All breaking changes documented.~~
  • Loading branch information
flub authored Jun 17, 2024
1 parent be3e16e commit ea7e654
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iroh-base/src/node_addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down Expand Up @@ -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.
///
Expand Down

0 comments on commit ea7e654

Please sign in to comment.