mirror of https://github.com/fafhrd91/actix-web
fix out of date comment for scope macro
This commit is contained in:
parent
bcc0bed4f5
commit
2f4b859dab
|
@ -245,9 +245,6 @@ pub fn test(_: TokenStream, item: TokenStream) -> TokenStream {
|
||||||
///
|
///
|
||||||
/// Syntax: `#[scope("path")]`
|
/// 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:
|
/// ## Attributes:
|
||||||
///
|
///
|
||||||
/// - `"path"` - Raw literal string with path for which to register handler. Mandatory.
|
/// - `"path"` - Raw literal string with path for which to register handler. Mandatory.
|
||||||
|
|
Loading…
Reference in New Issue