]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/dec2flt_table.py
Rollup merge of #82217 - m-ou-se:edition-prelude, r=nikomatsakis
[rust.git] / src / etc / dec2flt_table.py
index 9bbcaf7c4cc49fc413c795706b8671007e8ce809..ad2292e857186ce45f8df5e779318e3528d1b400 100755 (executable)
@@ -113,7 +113,7 @@ def print_proper_powers():
     print()
     print("#[rustfmt::skip]")
     typ = "([u64; {0}], [i16; {0}])".format(len(powers))
-    print("pub const POWERS: ", typ, " = (", sep='')
+    print("pub static POWERS: ", typ, " = (", sep='')
     print("    [")
     for z in powers:
         print("        0x{:x},".format(z.sig))