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:
parent
fe13789345
commit
3851a377df
1 changed files with 7 additions and 7 deletions
14
src/web.rs
14
src/web.rs
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue