1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

fix warnings

This commit is contained in:
Nikolay Kim
2019-04-14 21:00:16 -07:00
parent 002c41a7ca
commit 1eebd47072
3 changed files with 3 additions and 3 deletions

View File

@ -57,8 +57,7 @@ impl Connector<(), ()> {
let ssl = {
#[cfg(feature = "ssl")]
{
use log::error;
use openssl::ssl::{SslConnector, SslMethod};
use openssl::ssl::SslMethod;
let mut ssl = SslConnector::builder(SslMethod::tls()).unwrap();
let _ = ssl