Skip to content

Commit 1db3847

Browse files
committed
---
yaml --- r: 275275 b: refs/heads/stable c: 9eda98a h: refs/heads/master i: 275273: d87bd3e 275271: f04d2c9
1 parent d6bad71 commit 1db3847

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: acdd3b9f5a1b582e4850aae78931de64819f425e
32+
refs/heads/stable: 9eda98a587bac7ff71664e2db4d97efc64c4ff1e
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/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)