We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d3448 commit d9996abCopy full SHA for d9996ab
bindgen-cli/options.rs
@@ -1019,7 +1019,7 @@ where
1019
"--with-derive-custom-union",
1020
),
1021
] {
1022
- let name = emit_diagnostics.then(|| name);
+ let name = emit_diagnostics.then_some(name);
1023
for custom_derive in custom_derives {
1024
let (regex, derives) = custom_derive
1025
.rsplit_once('=')
0 commit comments