1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-19 16:58:14 +00:00

fix out of date comment for scope macro

This commit is contained in:
Jon Lim 2024-04-02 22:39:13 -07:00
parent bcc0bed4f5
commit 2f4b859dab

View file

@ -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.