File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ impl NodeInfo {
100
100
/// Convert this node info into a DNS attribute string.
101
101
///
102
102
/// It will look like this:
103
- /// node=b32encodednodeid derp=https://myderp.example
103
+ /// ` node=b32encodednodeid derp=https://myderp.example`
104
104
pub fn to_attribute_string ( & self ) -> String {
105
105
let mut attrs = vec ! [ ] ;
106
106
attrs. push ( fmt_attr ( ATTR_NODE_ID , self . node_id ) ) ;
@@ -136,7 +136,7 @@ impl NodeInfo {
136
136
137
137
/// Parse the [`NodeInfo`] from an attribute string.
138
138
///
139
- /// See [Self::into_attribute_string ] for the expected format.
139
+ /// See [Self::to_attribute_string ] for the expected format.
140
140
pub fn parse_from_attributes ( attrs : & str ) -> Result < Self > {
141
141
let attrs = parse_attrs ( attrs) ;
142
142
let Some ( node) = attrs. get ( ATTR_NODE_ID ) else {
You can’t perform that action at this time.
0 commit comments