Skip to content

Commit 78ba534

Browse files
committed
chore: doc links
1 parent 38c9359 commit 78ba534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iroh-net/src/dns/node_info.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl NodeInfo {
100100
/// Convert this node info into a DNS attribute string.
101101
///
102102
/// It will look like this:
103-
/// node=b32encodednodeid derp=https://myderp.example
103+
/// `node=b32encodednodeid derp=https://myderp.example`
104104
pub fn to_attribute_string(&self) -> String {
105105
let mut attrs = vec![];
106106
attrs.push(fmt_attr(ATTR_NODE_ID, self.node_id));
@@ -136,7 +136,7 @@ impl NodeInfo {
136136

137137
/// Parse the [`NodeInfo`] from an attribute string.
138138
///
139-
/// See [Self::into_attribute_string] for the expected format.
139+
/// See [Self::to_attribute_string] for the expected format.
140140
pub fn parse_from_attributes(attrs: &str) -> Result<Self> {
141141
let attrs = parse_attrs(attrs);
142142
let Some(node) = attrs.get(ATTR_NODE_ID) else {

0 commit comments

Comments
 (0)