Skip to content

Commit f9c3721

Browse files
committed
Format cpython-sys/build.rs
1 parent 2ed828b commit f9c3721

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎Modules/cpython-sys/build.rs‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,11 +336,9 @@ fn patch_windows_imported_pointer_globals(bindings: String, dll_name: &str) -> S
336336
if !matches!(*static_item.ty, syn::Type::Ptr(_)) {
337337
continue;
338338
}
339-
foreign_mod
340-
.attrs
341-
.push(syn::parse_quote!(
342-
#[cfg_attr(windows, link(name = #dll_name, kind = "raw-dylib"))]
343-
));
339+
foreign_mod.attrs.push(syn::parse_quote!(
340+
#[cfg_attr(windows, link(name = #dll_name, kind = "raw-dylib"))]
341+
));
344342
}
345343

346344
prettyplease::unparse(&file)

0 commit comments

Comments
 (0)