File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ times. There are number of interrelated issues:
25
25
program. It is even more useful if those constant values do not have
26
26
a known address, because that means the compiler is free to replicate
27
27
them as it wishes. Moreover, if a constant is inlined into downstream
28
- crates, than they must be recompiled whenever that constant changes.
28
+ crates, then they must be recompiled whenever that constant changes.
29
29
- * Read-only memory:* Whenever possible, we'd like to place large
30
30
constants into read-only memory. But this means that the data must
31
31
be truly immutable, or else a segfault will result.
@@ -59,7 +59,7 @@ Some concrete problems with this design are:
59
59
illegal. To resolve this, there is an alternative proposal which
60
60
makes access to ` static mut ` be considered safe if the type of the
61
61
static mut meets the ` Sync ` trait.
62
- - The signifiance (no pun intended) of the ` #[inline(never)] ` annotation
62
+ - The significance (no pun intended) of the ` #[inline(never)] ` annotation
63
63
is not intuitive.
64
64
- There is no way to have a generic type constant.
65
65
You can’t perform that action at this time.
0 commit comments