Update actix-web-codegen/src/lib.rs with comment documentation fix

Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com>
This commit is contained in:
Jonathan Lim 2023-12-09 17:56:28 -08:00 committed by GitHub
parent f9bd3472a2
commit 3ee0dc9329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -322,8 +322,8 @@ pub fn test(_: TokenStream, item: TokenStream) -> TokenStream {
/// ///
/// # Note /// # Note
/// ///
/// Internally the macro generate struct with name of scope (e.g. `mod_inner`) /// Internally the macro generates struct with name of scope (e.g. `mod_inner`).
/// And create public module as `<name>_scope` /// And creates public module as `<name>_scope`.
/// ///
#[proc_macro_attribute] #[proc_macro_attribute]
pub fn scope(args: TokenStream, input: TokenStream) -> TokenStream { pub fn scope(args: TokenStream, input: TokenStream) -> TokenStream {