use Cookie constructor instead of Self()
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user