Skip to content

Commit

Permalink
Change placement of [Unstable] marker in RFC 1623 docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Jan 28, 2017
1 parent e8cb83a commit 3f0ca55
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1356,12 +1356,12 @@ unsafe fn bump_levels_unsafe2() -> u32 {
Mutable statics have the same restrictions as normal statics, except that the
type of the value is not required to ascribe to `Sync`.

#### `'static` lifetime elision [unstable]
#### `'static` lifetime elision

Both constant and static declarations of reference types have *implicit*
`'static` lifetimes unless an explicit lifetime is specified. As such, the
constant declarations involving `'static` above may be written without the
lifetimes. Returning to our previous example:
[Unstable] Both constant and static declarations of reference types have
*implicit* `'static` lifetimes unless an explicit lifetime is specified. As
such, the constant declarations involving `'static` above may be written
without the lifetimes. Returning to our previous example:

```rust
#[feature(static_in_const)]
Expand Down

0 comments on commit 3f0ca55

Please sign in to comment.