docs(macro): fix visibility attribute's usage of handler macro (#481)
This commit is contained in:
parent
b749e3c9b4
commit
75a7e48441
1 changed files with 5 additions and 4 deletions
|
|
@ -76,6 +76,7 @@ mod test {
|
|||
fn test_router_attr() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let attr = quote! {
|
||||
router = test_router,
|
||||
vis = "pub(crate)"
|
||||
};
|
||||
let attr_args = NestedMeta::parse_meta_list(attr)?;
|
||||
let ToolRouterAttribute { router, vis } = ToolRouterAttribute::from_list(&attr_args)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue