use Cookie constructor instead of Self()

This commit is contained in:
Sean McArthur
2019-04-09 12:25:33 -07:00
parent 948d170d99
commit f9e88b0928

View File

@@ -50,7 +50,7 @@ impl Cookie<'static> {
N: Into<Cow<'static, str>>, N: Into<Cow<'static, str>>,
V: Into<Cow<'static, str>>, V: Into<Cow<'static, str>>,
{ {
Self(cookie::Cookie::new(name, value)) Cookie(cookie::Cookie::new(name, value))
} }
} }