Skip to content

Commit df72584

Browse files
committed
Merge pull request #1018 from mdinger/patch-1
Fix typos
2 parents 67c2c29 + 427e3e2 commit df72584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0246-const-vs-static.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ times. There are number of interrelated issues:
2525
program. It is even more useful if those constant values do not have
2626
a known address, because that means the compiler is free to replicate
2727
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.
2929
- *Read-only memory:* Whenever possible, we'd like to place large
3030
constants into read-only memory. But this means that the data must
3131
be truly immutable, or else a segfault will result.
@@ -59,7 +59,7 @@ Some concrete problems with this design are:
5959
illegal. To resolve this, there is an alternative proposal which
6060
makes access to `static mut` be considered safe if the type of the
6161
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
6363
is not intuitive.
6464
- There is no way to have a generic type constant.
6565

0 commit comments

Comments
 (0)