fix(rustup): update FromStr
Signed-off-by: Peter Atashian <retep998@gmail.com>
This commit is contained in:
committed by
Sean McArthur
parent
c983ebf3ce
commit
742081c8cf
@@ -26,8 +26,8 @@ impl Header for SetCookie {
|
||||
match from_utf8(&set_cookies_raw[]) {
|
||||
Ok(s) if !s.is_empty() => {
|
||||
match s.parse() {
|
||||
Some(cookie) => set_cookies.push(cookie),
|
||||
None => ()
|
||||
Ok(cookie) => set_cookies.push(cookie),
|
||||
Err(_) => ()
|
||||
}
|
||||
},
|
||||
_ => ()
|
||||
|
||||
Reference in New Issue
Block a user