about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-27 15:06:19 +0000
committerbors <bors@rust-lang.org>2016-02-27 15:06:19 +0000
commitc5237b02b96b199abdcf1ddb472b0080fdff4ccd (patch)
tree0e27a58866c8260777f300624defca91ae86f2bd /src
parentacdd3b9f5a1b582e4850aae78931de64819f425e (diff)
parent9eda98a587bac7ff71664e2db4d97efc64c4ff1e (diff)
downloadrust-c5237b02b96b199abdcf1ddb472b0080fdff4ccd.tar.gz
rust-c5237b02b96b199abdcf1ddb472b0080fdff4ccd.zip
Auto merge of #31940 - teoryn:patch-2, r=steveklabnik
See http://www.ietf.org/rfc/rfc2119.txt
Diffstat (limited to 'src')
-rw-r--r--src/doc/book/const-and-static.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/book/const-and-static.md b/src/doc/book/const-and-static.md
index 7d555b52a98..b7042854bd2 100644
--- a/src/doc/book/const-and-static.md
+++ b/src/doc/book/const-and-static.md
@@ -64,16 +64,16 @@ unsafe {
 
 [unsafe]: unsafe.html
 
-Furthermore, any type stored in a `static` must be `Sync`, and may not have
+Furthermore, any type stored in a `static` must be `Sync`, and must not have
 a [`Drop`][drop] implementation.
 
 [drop]: drop.html
 
 # Initializing
 
-Both `const` and `static` have requirements for giving them a value. They may
-only be given a value that’s a constant expression. In other words, you cannot
-use the result of a function call or anything similarly complex or at runtime.
+Both `const` and `static` have requirements for giving them a value. They must
+be given a value that’s a constant expression. In other words, you cannot use 
+the result of a function call or anything similarly complex or at runtime.
 
 # Which construct should I use?