Auto merge of #31940 - teoryn:patch-2, r=steveklabnik

See http://www.ietf.org/rfc/rfc2119.txt
This commit is contained in:
bors 2016-02-27 15:06:19 +00:00
commit c5237b02b9

View file

@ -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 thats 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 thats 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?