From 2f4b859dab26c253ce6bfd51bc683e05a344d886 Mon Sep 17 00:00:00 2001 From: Jon Lim Date: Tue, 2 Apr 2024 22:39:13 -0700 Subject: [PATCH] fix out of date comment for scope macro --- actix-web-codegen/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/actix-web-codegen/src/lib.rs b/actix-web-codegen/src/lib.rs index 163053c01..b45e75631 100644 --- a/actix-web-codegen/src/lib.rs +++ b/actix-web-codegen/src/lib.rs @@ -245,9 +245,6 @@ pub fn test(_: TokenStream, item: TokenStream) -> TokenStream { /// /// Syntax: `#[scope("path")]` /// -/// Due to current limitation it cannot be applied to modules themself. -/// Instead one should create const variable that contains module code. -/// /// ## Attributes: /// /// - `"path"` - Raw literal string with path for which to register handler. Mandatory.