mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 10:27:42 +02:00
update tests to async handlers
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
//! use actix_cors::Cors;
|
||||
//! use actix_web::{http, web, App, HttpRequest, HttpResponse, HttpServer};
|
||||
//!
|
||||
//! fn index(req: HttpRequest) -> &'static str {
|
||||
//! async fn index(req: HttpRequest) -> &'static str {
|
||||
//! "Hello world"
|
||||
//! }
|
||||
//!
|
||||
|
Reference in New Issue
Block a user