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 3, 2025
1 parent 005a5de commit af61a98
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 @@ -4647,7 +4647,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 af61a98

Please sign in to comment.