1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
--- a/src/nameinfo.rs
+++ b/src/nameinfo.rs
@@ -76,6 +76,7 @@
Ok((host, service))
}
+/*
#[test]
fn test_getnameinfo() {
use std::net::{IpAddr, SocketAddr};
@@ -102,3 +103,4 @@
assert_eq!(name, hostname);
}
}
+*/
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,6 +32,7 @@
//! // The string "localhost" on unix, and the hostname on Windows.
//! ```
//!
+/*
//! # `getaddrinfo`
//! ```rust
//! extern crate dns_lookup;
@@ -55,6 +56,7 @@
//! }
//! }
//! ```
+*/
//!
//! # `getnameinfo`
//! ```rust
|