mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 16:40:21 +02:00
rename .to_async() to .to()
This commit is contained in:
@@ -276,7 +276,7 @@ impl Drop for HttpRequest {
|
||||
/// use serde_derive::Deserialize;
|
||||
///
|
||||
/// /// extract `Thing` from request
|
||||
/// fn index(req: HttpRequest) -> String {
|
||||
/// async fn index(req: HttpRequest) -> String {
|
||||
/// format!("Got thing: {:?}", req)
|
||||
/// }
|
||||
///
|
||||
|
Reference in New Issue
Block a user