1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-11 01:39:33 +00:00

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

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 {