Skip to content

Commit af61a98

Browse files
committed
another minor clippy lint
1 parent 005a5de commit af61a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/codegen/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4647,7 +4647,7 @@ impl CodeGenerator for Function {
46474647
mangled_name,
46484648
Some(abi),
46494649
))
4650-
.then(|| mangled_name)
4650+
.then_some(mangled_name)
46514651
});
46524652

46534653
if let Some(link_name) = link_name_attr {

0 commit comments

Comments
 (0)