fix(rustup): rustc 1.0.0-nightly (123a754cb 2015-03-24)
* fix `extern crate` declaration for rustc-serialize * enable `into_cow` feature * replace as_slice() calls by as_ref and enable `convert` feature * use `core` feature in doc tests
This commit is contained in:
		| @@ -19,7 +19,7 @@ mod tests { | ||||
|  | ||||
|     #[test] | ||||
|     fn test_parse_header() { | ||||
|         let a: AcceptEncoding = Header::parse_header([b"gzip;q=1.0, identity; q=0.5".to_vec()].as_slice()).unwrap(); | ||||
|         let a: AcceptEncoding = Header::parse_header([b"gzip;q=1.0, identity; q=0.5".to_vec()].as_ref()).unwrap(); | ||||
|         let b = AcceptEncoding(vec![ | ||||
|             qitem(Encoding::Gzip), | ||||
|             QualityItem::new(Encoding::Identity, Quality(500)), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user