mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
This reverts commit 580062228b
.
This commit is contained in:
parent
c3fd27c225
commit
8e5f28839c
13 changed files with 123 additions and 161 deletions
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use std::time::SystemTime;
|
||||
|
||||
use cookie::Cookie;
|
||||
use headers::ContentType;
|
||||
use http::header::HeaderMap;
|
||||
|
@ -17,6 +15,7 @@ use hyper::{Method, StatusCode, Uri};
|
|||
use hyper_serde::{De, Ser, Serde};
|
||||
use mime::Mime;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use time::Tm;
|
||||
|
||||
fn is_supported<T>()
|
||||
where
|
||||
|
@ -34,6 +33,6 @@ fn supported() {
|
|||
is_supported::<Method>();
|
||||
is_supported::<Mime>();
|
||||
is_supported::<StatusCode>();
|
||||
is_supported::<SystemTime>();
|
||||
is_supported::<Tm>();
|
||||
is_supported::<Uri>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue