(fix) Add semicolons at macro invocation sites.

This commit is contained in:
Jonathan Reem
2014-12-20 02:38:00 -08:00
parent 15bac9dadc
commit 90925f05ee
28 changed files with 76 additions and 60 deletions

View File

@@ -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()] });