change macro a bit

This commit is contained in:
2025-12-09 02:03:54 -05:00
parent e44bb8eca4
commit 7f4846a2d3
4 changed files with 25 additions and 24 deletions

View File

@@ -21,6 +21,7 @@ struct InputFn {
impl Parse for Input {
fn parse(input: ParseStream) -> Result<Self> {
let vis = input.parse()?;
input.parse::<Token![trait]>()?;
let name = input.parse()?;
input.parse::<Token![;]>()?;
let mut fns = Vec::new();