Skip to content

Commit

Permalink
Fix Clippy lints (#2495)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz authored Apr 10, 2023
1 parent d0d3448 commit d9996ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen-cli/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ where
"--with-derive-custom-union",
),
] {
let name = emit_diagnostics.then(|| name);
let name = emit_diagnostics.then_some(name);
for custom_derive in custom_derives {
let (regex, derives) = custom_derive
.rsplit_once('=')
Expand Down

0 comments on commit d9996ab

Please sign in to comment.