mirror of
https://github.com/openharmony/third_party_rust_reqwest.git
synced 2026-07-19 16:53:33 -04:00
use Cookie constructor instead of Self()
This commit is contained in:
+1
-1
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user