1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

Use captured args in format string (#558)

This commit is contained in:
Yuri Astrakhan
2022-06-07 22:53:38 -04:00
committed by GitHub
parent 912de4aa46
commit db5f00e771
37 changed files with 57 additions and 60 deletions

View File

@ -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")