File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1356,12 +1356,12 @@ unsafe fn bump_levels_unsafe2() -> u32 {
1356
1356
Mutable statics have the same restrictions as normal statics, except that the
1357
1357
type of the value is not required to ascribe to ` Sync ` .
1358
1358
1359
- #### ` 'static ` lifetime elision [ unstable ]
1359
+ #### ` 'static ` lifetime elision
1360
1360
1361
- Both constant and static declarations of reference types have * implicit *
1362
- ` 'static ` lifetimes unless an explicit lifetime is specified. As such, the
1363
- constant declarations involving ` 'static ` above may be written without the
1364
- lifetimes. Returning to our previous example:
1361
+ [ Unstable ] Both constant and static declarations of reference types have
1362
+ * implicit * ` 'static ` lifetimes unless an explicit lifetime is specified. As
1363
+ such, the constant declarations involving ` 'static ` above may be written
1364
+ without the lifetimes. Returning to our previous example:
1365
1365
1366
1366
``` rust
1367
1367
#[feature(static_in_const)]
You can’t perform that action at this time.
0 commit comments