We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4195c8f commit 56c0e0eCopy full SHA for 56c0e0e
iroh/src/discovery/mdns.rs
@@ -133,7 +133,7 @@ pub struct MdnsDiscoveryBuilder {
133
}
134
135
impl MdnsDiscoveryBuilder {
136
- /// See [`MdnsDiscovery::builder`].
+ /// Creates a new [`MdnsDiscoveryBuilder`] with default settings.
137
pub fn new() -> Self {
138
Self { advertise: true }
139
@@ -146,7 +146,7 @@ impl MdnsDiscoveryBuilder {
146
self
147
148
149
- /// See [`MdnsDiscovery::new`].
+ /// Builds an [`MdnsDiscovery`] instance with the configured settings.
150
pub fn build(self, node_id: NodeId) -> Result<MdnsDiscovery, IntoDiscoveryError> {
151
MdnsDiscovery::new(node_id, self.advertise)
152
0 commit comments