Skip to content

Commit 42295d5

Browse files
Gabi Ganampvdrz
Gabi Ganam
authored andcommitted
Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY, f64::NAN
#2853
1 parent 9482941 commit 42295d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/codegen/helpers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ pub(crate) mod ast_ty {
339339
::#prefix::f64::INFINITY
340340
}
341341
}
342-
} else { // sign_negative
342+
} else {
343343
if rust_target >= RustTarget::Stable_1_43 {
344344
quote! {
345345
f64::NEG_INFINITY

0 commit comments

Comments
 (0)