mirror of
https://github.com/actix/actix-website
synced 2025-06-27 15:39:02 +02:00
use actix-web 0.7 for examples
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// <resource>
|
||||
use actix_web::{http::Method, App, HttpRequest, HttpResponse};
|
||||
|
||||
fn index(req: HttpRequest) -> HttpResponse {
|
||||
fn index(req: &HttpRequest) -> HttpResponse {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user