Skip to content

Commit be05b8e

Browse files
author
Gabi Ganam
committed
Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY, f64::NAN
rust-lang#2853
1 parent 4d21d69 commit be05b8e

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)