1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

Fix/suppress warnings

This commit is contained in:
Yuki Okushi
2020-04-03 16:14:30 +09:00
parent 0f1568bd3c
commit 8f1c0a85cf
19 changed files with 29 additions and 32 deletions

View File

@ -2,7 +2,7 @@ use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, client::{Client
use openssl::ssl::{SslConnector, SslMethod};
async fn index(req: HttpRequest) -> HttpResponse {
async fn index(_req: HttpRequest) -> HttpResponse {
let builder = SslConnector::builder(SslMethod::tls()).unwrap();
let client = Client::build()