Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from inejge/edits
Browse files Browse the repository at this point in the history
Two comment edits
  • Loading branch information
alexcrichton committed Dec 29, 2016
2 parents c8b7e65 + a251916 commit 6dcf104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Expand Up @@ -81,7 +81,7 @@ fn main() {
let handle = lp.handle();
let listener = TcpListener::bind(&addr, &handle).unwrap();

// This is the address of our the DNS server we'll send queries to. If
// This is the address of the DNS server we'll send queries to. If
// external servers can't be used in your environment, you can substitue
// your own.
let dns = "8.8.8.8:53".parse().unwrap();
Expand Down Expand Up @@ -310,7 +310,7 @@ impl Client {
// five seconds. We're using TRust-DNS at the protocol level,
// so we don't have the functionality normally expected from a
// stub resolver, such as sorting of answers according to RFC
// 6724 or more robust timeout handling or resolving CNAME
// 6724, more robust timeout handling, or resolving CNAME
// lookups.
v5::ATYP_DOMAIN => {
mybox(read_exact(c, [0u8]).and_then(|(conn, buf)| {
Expand Down

0 comments on commit 6dcf104

Please sign in to comment.