use Cookie constructor instead of Self()

This commit is contained in:
Sean McArthur
2019-04-09 12:25:33 -07:00
parent d2d5be3056
commit 9230bc7f59
+1 -1
View File
@@ -50,7 +50,7 @@ impl Cookie<'static> {
N: Into<Cow<'static, str>>,
V: Into<Cow<'static, str>>,
{
Self(cookie::Cookie::new(name, value))
Cookie(cookie::Cookie::new(name, value))
}
}