Skip to content

Commit

Permalink
cargo clippy --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x53A committed Oct 26, 2024
1 parent 43b763d commit d0608de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions godot-macros/src/class/godot_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ fn parse_inherent_impl_attr(meta: TokenStream) -> Result<super::InherentImplAttr
};

let item = venial::parse_item(input)?;
let mut attr = KvParser::parse_required(&item.attributes(), "godot_api", &meta)?;
let mut attr = KvParser::parse_required(item.attributes(), "godot_api", &meta)?;
let secondary = attr.handle_alone("secondary")?;
attr.finish()?;

Ok(super::InherentImplAttr {
secondary: secondary,
secondary,
})
}

Expand Down Expand Up @@ -64,7 +64,7 @@ pub fn attribute_godot_api(
} else {
match parse_inherent_impl_attr(meta) {
Ok(meta) => transform_inherent_impl(meta, decl),
Err(err) => return Err(err),
Err(err) => Err(err),
}
}
}

0 comments on commit d0608de

Please sign in to comment.