Skip to content

Commit c5237b0

Browse files
committed
Auto merge of #31940 - teoryn:patch-2, r=steveklabnik
See http://www.ietf.org/rfc/rfc2119.txt
2 parents acdd3b9 + 9eda98a commit c5237b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/doc/book/const-and-static.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ unsafe {
6464

6565
[unsafe]: unsafe.html
6666

67-
Furthermore, any type stored in a `static` must be `Sync`, and may not have
67+
Furthermore, any type stored in a `static` must be `Sync`, and must not have
6868
a [`Drop`][drop] implementation.
6969

7070
[drop]: drop.html
7171

7272
# Initializing
7373

74-
Both `const` and `static` have requirements for giving them a value. They may
75-
only be given a value that’s a constant expression. In other words, you cannot
76-
use the result of a function call or anything similarly complex or at runtime.
74+
Both `const` and `static` have requirements for giving them a value. They must
75+
be given a value that’s a constant expression. In other words, you cannot use
76+
the result of a function call or anything similarly complex or at runtime.
7777

7878
# Which construct should I use?
7979

0 commit comments

Comments
 (0)