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:
		| @@ -62,10 +62,10 @@ mod tests { | ||||
|     fn test_if_none_match() { | ||||
|         let mut if_none_match: Option<IfNoneMatch>; | ||||
|  | ||||
|         if_none_match = Header::parse_header([b"*".to_vec()].as_slice()); | ||||
|         if_none_match = Header::parse_header([b"*".to_vec()].as_ref()); | ||||
|         assert_eq!(if_none_match, Some(IfNoneMatch::Any)); | ||||
|  | ||||
|         if_none_match = Header::parse_header([b"\"foobar\", W/\"weak-etag\"".to_vec()].as_slice()); | ||||
|         if_none_match = Header::parse_header([b"\"foobar\", W/\"weak-etag\"".to_vec()].as_ref()); | ||||
|         let mut entities: Vec<EntityTag> = Vec::new(); | ||||
|         let foobar_etag = EntityTag { | ||||
|             weak: false, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user