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

docs: clarify subject-verb agreement (#616)

This commit is contained in:
Alexander Stepchenko
2025-06-17 21:16:00 +03:00
committed by GitHub
parent bd9106ce56
commit 5d01655a1b

View File

@ -32,7 +32,7 @@ Add `actix-web` as a dependency of your project by adding the following to your
actix-web = "${vars.actixWebMajorVersion}"`} actix-web = "${vars.actixWebMajorVersion}"`}
</RenderCodeBlock> </RenderCodeBlock>
Request handlers use async functions that accept zero or more parameters. These parameters can be extracted from a request (see `FromRequest` trait) and returns a type that can be converted into an `HttpResponse` (see `Responder` trait): Request handlers use async functions that accept zero or more parameters. These parameters can be extracted from a request (see `FromRequest` trait), and the function returns a type that can be converted into an `HttpResponse` (see `Responder` trait):
Replace the contents of `src/main.rs` with the following: Replace the contents of `src/main.rs` with the following: