Skip to content

Commit

Permalink
fix unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
HKalbasi committed Sep 22, 2023
1 parent 5575fd4 commit e6025e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zngur-generator/src/cpp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ impl CppTraitDefinition {
CppTraitDefinition::Normal {
as_ty,
methods,
link_name,
link_name_ref,
link_name: _,
link_name_ref: _,
} => {
for method in dbg!(methods) {
write!(state, "void {}(uint8_t* data", method.rust_link_name)?;
Expand Down Expand Up @@ -992,7 +992,7 @@ return o;
}
Some(CppTraitDefinition::Normal {
as_ty,
methods,
methods: _,
link_name,
link_name_ref: _,
}) => {
Expand Down Expand Up @@ -1027,7 +1027,7 @@ return o;
}
Some(CppTraitDefinition::Normal {
as_ty,
methods,
methods: _,
link_name: _,
link_name_ref,
}) => {
Expand Down

0 comments on commit e6025e0

Please sign in to comment.