Skip to content

Commit 0def4b6

Browse files
committed
Address scottmcm's (IRC) review.
1 parent 2a37e1a commit 0def4b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/expressions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ then it is a compiler error if the value must be evaluated at compile time,
209209
otherwise it is just a warning, but the code will most likely panic when run.
210210

211211
The following expressions are constant expressions, so long as any operands are
212-
also constant expressions and do not cause any `Drop::drop` calls to be ran in
213-
[destructors]:
212+
also constant expressions and do not cause any [`Drop::drop`][destructors] calls
213+
to be ran.
214214

215215
* [Literals].
216216
* [Paths] to [functions](items/functions.html) and constants.

src/items/static-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ unsafe fn bump_levels_unsafe2() -> u32 {
5757
```
5858

5959
Mutable statics have the same restrictions as normal statics, except that the
60-
type of the value does not require the `Sync` trait bound.
60+
type does not have to implement the `Sync` trait.
6161

6262
## `'static` lifetime elision
6363

0 commit comments

Comments
 (0)