We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e905011 commit faab284Copy full SHA for faab284
1 file changed
src/lib.rs
@@ -58,6 +58,7 @@ impl Responder {
58
pub fn new() -> Responder {
59
Self::new_with_ip_list(Vec::new()).unwrap()
60
}
61
+
62
/// Spawn a `Responder` task on an new os thread.
63
/// DNS response records will have the reported IPs limited to those passed in here.
64
/// This can be particularly useful on machines with lots of networks created by tools such as
@@ -309,7 +310,7 @@ impl Responder {
309
310
///
311
/// # use std::io;
312
/// # fn main() -> io::Result<()> {
- /// let responder = Responder::new()?;
313
+ /// let responder = Responder::new();
314
/// // bind service
315
/// let _http_svc = responder.register_with_ttl(
316
/// "_http._tcp".into(),
0 commit comments