1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-01-01 21:08:43 +00:00

Fix minor grammatical errors (#1341)

This commit is contained in:
Levi Notik 2020-02-06 13:00:22 -05:00 committed by GitHub
parent fe13789345
commit 3851a377df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ pub fn route() -> Route {
/// );
/// ```
///
/// In the above example, one `GET` route get added:
/// In the above example, one `GET` route gets added:
/// * /{project_id}
///
pub fn get() -> Route {
@ -114,7 +114,7 @@ pub fn get() -> Route {
/// );
/// ```
///
/// In the above example, one `POST` route get added:
/// In the above example, one `POST` route gets added:
/// * /{project_id}
///
pub fn post() -> Route {
@ -132,7 +132,7 @@ pub fn post() -> Route {
/// );
/// ```
///
/// In the above example, one `PUT` route get added:
/// In the above example, one `PUT` route gets added:
/// * /{project_id}
///
pub fn put() -> Route {
@ -150,7 +150,7 @@ pub fn put() -> Route {
/// );
/// ```
///
/// In the above example, one `PATCH` route get added:
/// In the above example, one `PATCH` route gets added:
/// * /{project_id}
///
pub fn patch() -> Route {
@ -168,7 +168,7 @@ pub fn patch() -> Route {
/// );
/// ```
///
/// In the above example, one `DELETE` route get added:
/// In the above example, one `DELETE` route gets added:
/// * /{project_id}
///
pub fn delete() -> Route {
@ -186,7 +186,7 @@ pub fn delete() -> Route {
/// );
/// ```
///
/// In the above example, one `HEAD` route get added:
/// In the above example, one `HEAD` route gets added:
/// * /{project_id}
///
pub fn head() -> Route {
@ -204,7 +204,7 @@ pub fn head() -> Route {
/// );
/// ```
///
/// In the above example, one `GET` route get added:
/// In the above example, one `GET` route gets added:
/// * /{project_id}
///
pub fn method(method: Method) -> Route {