rust upgrade

This commit is contained in:
Sean McArthur
2014-12-29 17:42:38 -08:00
parent f75e9bfaaa
commit 451074b0a6
5 changed files with 13 additions and 9 deletions

View File

@@ -13,6 +13,10 @@ use cookie::CookieJar;
#[deriving(Clone, PartialEq, Show)]
pub struct SetCookie(pub Vec<Cookie>);
//TODO: remove when fixed in libstd
unsafe impl Send for SetCookie {}
unsafe impl Sync for SetCookie {}
deref!(SetCookie -> Vec<Cookie>);
impl Header for SetCookie {