1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 08:14:58 +02:00

use actix-web 0.7 for examples

This commit is contained in:
Nikolay Kim
2018-07-21 05:21:41 -07:00
parent 324799dd2a
commit 5cd8d2edc8
17 changed files with 28 additions and 28 deletions

View File

@ -2,7 +2,7 @@
use actix_web::{server, App, HttpRequest, Responder};
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
fn index(req: HttpRequest) -> impl Responder {
fn index(req: &HttpRequest) -> impl Responder {
"Welcome!"
}