Skip to content

Commit a837a7b

Browse files
committed
Fix doc test
1 parent e905011 commit a837a7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ impl Responder {
309309
///
310310
/// # use std::io;
311311
/// # fn main() -> io::Result<()> {
312-
/// let responder = Responder::new()?;
312+
/// let responder = Responder::new();
313313
/// // bind service
314314
/// let _http_svc = responder.register_with_ttl(
315315
/// "_http._tcp".into(),

0 commit comments

Comments
 (0)