mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
Use captured args in format string (#558)
This commit is contained in:
@ -62,7 +62,7 @@ async fn handle_post_2(
|
||||
|
||||
/// Request and POST Params
|
||||
async fn handle_post_3(req: HttpRequest, params: web::Form<MyParams>) -> impl Responder {
|
||||
println!("Handling POST request: {:?}", req);
|
||||
println!("Handling POST request: {req:?}");
|
||||
|
||||
HttpResponse::Ok()
|
||||
.content_type("text/plain")
|
||||
|
Reference in New Issue
Block a user