diff --git a/src/lib.rs b/src/lib.rs index 05940c3..81f5b27 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ #![allow(dead_code)] use std::io::{Error, ErrorKind}; -use std::io::{Read, Result}; +use std::io::Result; use std::net::{Ipv4Addr, Ipv6Addr}; diff --git a/src/main.rs b/src/main.rs index d0f8aca..141f98e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ use std::env; use std::net::{IpAddr, SocketAddr}; use std::path::PathBuf; use std::process::Command; -use std::time::{Duration, Instant}; +use std::time::Duration; use watch::Watch; const CONFIG_NAME: &str = ".updns";