mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
removing unnecessary clones
This commit is contained in:
parent
a4d5c8ce4a
commit
849ee8fbdf
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ impl HttpRequestFactory for NetworkHttpRequestFactory {
|
|||
context.set_CA_file(&resources_dir_path().join("certs")).unwrap();
|
||||
|
||||
let connector = HttpsConnector::new(Openssl { context: Arc::new(context) });
|
||||
let connection = Request::with_connector(method.clone(), url.clone(), &connector);
|
||||
let connection = Request::with_connector(method, url.clone(), &connector);
|
||||
|
||||
let ssl_err_string = "Some(OpenSslErrors([UnknownError { library: \"SSL routines\", \
|
||||
function: \"SSL3_GET_SERVER_CERTIFICATE\", \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue