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 bbc46f9 commit 604ecd9Copy full SHA for 604ecd9
crates/backend/src/codegen.rs
@@ -1065,15 +1065,15 @@ impl ToTokens for ast::Const {
1065
// again no suffix
1066
// panics on +-inf, nan
1067
FloatLiteral(f) => {
1068
- let f = Literal::f64_unsuffixed(f);
+ let f = Literal::f64_suffixed(f);
1069
quote!(#f)
1070
},
1071
SignedIntegerLiteral(i) => {
1072
- let i = Literal::i64_unsuffixed(i);
+ let i = Literal::i64_suffixed(i);
1073
quote!(#i)
1074
1075
UnsignedIntegerLiteral(i) => {
1076
- let i = Literal::u64_unsuffixed(i);
+ let i = Literal::u64_suffixed(i);
1077
1078
1079
Null => unimplemented!(),
0 commit comments