From 904cf042367d24cd68b1e1c609a391b777a1c58f Mon Sep 17 00:00:00 2001 From: Roland Fredenhagen Date: Tue, 3 May 2022 20:20:37 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Igor Aleksanov --- actix-web-codegen/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-web-codegen/src/lib.rs b/actix-web-codegen/src/lib.rs index 693d9d343..4b6dc43c5 100644 --- a/actix-web-codegen/src/lib.rs +++ b/actix-web-codegen/src/lib.rs @@ -126,8 +126,8 @@ pub fn route(args: TokenStream, input: TokenStream) -> TokenStream { /// ``` /// /// # Attributes -/// The `routes` macro it self has no parameters, but allows specifying the attribute macros for -/// the different methods, e.g. [`GET`](macro@get) or [`POST`](macro@post). +/// The `routes` macro itself has no parameters, but allows specifying the attribute macros for +/// the multiple paths and/or methods, e.g. [`GET`](macro@get) and [`POST`](macro@post). /// /// These helper attributes take the same parameters as the [single method handlers](crate#single-method-handler). ///