Skip to content

Commit 43ad71a

Browse files
committed
Run rusfmt
1 parent 752b7f0 commit 43ad71a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindgen/codegen/helpers.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ pub(crate) mod ast_ty {
156156
}
157157
}
158158
None => {
159-
if ctx.options().use_core
160-
&& ctx.options().rust_features.core_ffi_c_void
159+
if ctx.options().use_core &&
160+
ctx.options().rust_features.core_ffi_c_void
161161
{
162162
quote! { ::core::ffi::c_void }
163163
} else {
@@ -177,8 +177,8 @@ pub(crate) mod ast_ty {
177177
}
178178
}
179179
None => {
180-
if ctx.options().use_core
181-
&& ctx.options().rust_features().core_ffi_c
180+
if ctx.options().use_core &&
181+
ctx.options().rust_features().core_ffi_c
182182
{
183183
quote! {
184184
::core::ffi::#ident

0 commit comments

Comments
 (0)