Skip to content

Commit

Permalink
another minor clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Feb 11, 2025
1 parent 539a943 commit c52e575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen/codegen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4649,7 +4649,7 @@ impl CodeGenerator for Function {
mangled_name,
Some(abi),
))
.then(|| mangled_name)
.then_some(mangled_name)
});

if let Some(link_name) = link_name_attr {
Expand Down

0 comments on commit c52e575

Please sign in to comment.