(fix) Add semicolons at macro invocation sites.
This commit is contained in:
		| @@ -16,7 +16,7 @@ use cookie::CookieJar; | ||||
| #[deriving(Clone, PartialEq, Show)] | ||||
| pub struct Cookies(pub Vec<Cookie>); | ||||
|  | ||||
| deref!(Cookies -> Vec<Cookie>) | ||||
| deref!(Cookies -> Vec<Cookie>); | ||||
|  | ||||
| impl Header for Cookies { | ||||
|     fn header_name(_: Option<Cookies>) -> &'static str { | ||||
| @@ -72,7 +72,7 @@ impl Cookies { | ||||
|         jar | ||||
|     } | ||||
|  | ||||
|     /// Extracts all cookies from `CookieJar` and creates Cookie header.  | ||||
|     /// Extracts all cookies from `CookieJar` and creates Cookie header. | ||||
|     /// Useful for clients. | ||||
|     pub fn from_cookie_jar(jar: &CookieJar) -> Cookies { | ||||
|         Cookies(jar.iter().collect()) | ||||
| @@ -113,4 +113,5 @@ fn cookie_jar() { | ||||
| } | ||||
|  | ||||
|  | ||||
| bench_header!(bench, Cookies, { vec![b"foo=bar; baz=quux".to_vec()] }) | ||||
| bench_header!(bench, Cookies, { vec![b"foo=bar; baz=quux".to_vec()] }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user