remove warning

This commit is contained in:
wyhaya
2019-08-24 15:30:01 +08:00
parent 74a2b3f89d
commit 7848511160
2 changed files with 2 additions and 2 deletions

View File

@@ -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};

View File

@@ -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";