diff --git a/proxmox-api-macro/src/router_macro.rs b/proxmox-api-macro/src/router_macro.rs index f7e388b2..e6852fcd 100644 --- a/proxmox-api-macro/src/router_macro.rs +++ b/proxmox-api-macro/src/router_macro.rs @@ -22,7 +22,7 @@ pub fn router_macro(input: TokenStream) -> Result { let router_name = need_ident(&mut input)?; match_colon(&mut input)?; - match_keyword(&mut input, "Router"); + match_keyword(&mut input, "Router")?; match_punct(&mut input, '<')?; let body_type = need_ident(&mut input)?; match_punct(&mut input, '>')?;