rust upgrade
This commit is contained in:
@@ -16,6 +16,10 @@ use cookie::CookieJar;
|
||||
#[deriving(Clone, PartialEq, Show)]
|
||||
pub struct Cookies(pub Vec<Cookie>);
|
||||
|
||||
//TODO: remove when fixed in libstd
|
||||
unsafe impl Send for Cookies {}
|
||||
unsafe impl Sync for Cookies {}
|
||||
|
||||
deref!(Cookies -> Vec<Cookie>);
|
||||
|
||||
impl Header for Cookies {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user