Skip to content

Commit c52e575

Browse files
committed
another minor clippy lint
1 parent 539a943 commit c52e575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bindgen/codegen/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4649,7 +4649,7 @@ impl CodeGenerator for Function {
46494649
mangled_name,
46504650
Some(abi),
46514651
))
4652-
.then(|| mangled_name)
4652+
.then_some(mangled_name)
46534653
});
46544654

46554655
if let Some(link_name) = link_name_attr {

0 commit comments

Comments
 (0)