aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch/cors_cache.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-08-13 14:55:01 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-08-13 18:34:44 +0200
commitfc6faf72ee6a50b878511066d70b18fa80a84d42 (patch)
tree97e13620714c75411038534326e4ed3e180ddbcf /components/net/fetch/cors_cache.rs
parent9f5122f48724ae125e687bed246b5fe4ebc38e03 (diff)
downloadservo-fc6faf72ee6a50b878511066d70b18fa80a84d42.tar.gz
servo-fc6faf72ee6a50b878511066d70b18fa80a84d42.zip
Update Rust to 1.12.0-nightly (1deb02ea6 2016-08-12)
Diffstat (limited to 'components/net/fetch/cors_cache.rs')
-rw-r--r--components/net/fetch/cors_cache.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/net/fetch/cors_cache.rs b/components/net/fetch/cors_cache.rs
index 97861283606..8d494ab33c1 100644
--- a/components/net/fetch/cors_cache.rs
+++ b/components/net/fetch/cors_cache.rs
@@ -12,8 +12,7 @@
use hyper::method::Method;
use net_traits::request::{CredentialsMode, Origin, Request};
use std::ascii::AsciiExt;
-use time;
-use time::{now, Timespec};
+use time::{self, Timespec};
use url::Url;
/// Union type for CORS cache entries