Commit 41f948c
wenhaozhao
fix compile error with rustc 1.77.0-nightly (62d7ed4a6 2024-01-11)
mutable reference of mutable static is discouraged
for more information, see issue #114447 <rust-lang/rust#114447>
reference of mutable static is a hard error from 2024 edition1 parent cced5d7 commit 41f948c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments