update to newest cookie-rs

This commit is contained in:
Sean McArthur
2014-11-10 11:13:20 -08:00
parent 33210641f7
commit fcfb0505dd
3 changed files with 2 additions and 9 deletions

View File

@@ -59,8 +59,7 @@ impl SetCookie {
/// Use this to create SetCookie header from CookieJar using
/// calculated delta.
pub fn from_cookie_jar(jar: &CookieJar) -> SetCookie {
//FIXME: https://github.com/alexcrichton/cookie-rs/issues/2
SetCookie(jar.delta().into_iter().map(|s| from_str(s[]).unwrap()).collect())
SetCookie(jar.delta())
}
}