Skip to content

Commit 9315a49

Browse files
nyurikemilio
authored andcommitted
another minor clippy lint
1 parent 3b48e6b commit 9315a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/codegen/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4729,7 +4729,7 @@ impl CodeGenerator for Function {
47294729
mangled_name,
47304730
Some(abi),
47314731
))
4732-
.then(|| mangled_name)
4732+
.then_some(mangled_name)
47334733
});
47344734

47354735
if let Some(link_name) = link_name_attr {

0 commit comments

Comments
 (0)