Skip to content

Commit 9ca9963

Browse files
authored
Merge pull request #78 from alexreg/raw-identifiers
Updated status of `raw_identifiers` feature
2 parents ac30830 + e1e1270 commit 9ca9963

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/rust-2018/module-system/raw-identifiers.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ error: expected identifier, found keyword `match`
2828
You can write this with a raw identifier:
2929

3030
```rust
31-
#![feature(rust_2018_preview)]
32-
#![feature(raw_identifiers)]
33-
3431
fn r#match(needle: &str, haystack: &str) -> bool {
3532
haystack.contains(needle)
3633
}
@@ -40,9 +37,9 @@ fn main() {
4037
}
4138
```
4239

43-
Note the `r#` prefix on both the function name, as well as the call.
40+
Note the `r#` prefix on both the function name as well as the call.
4441

45-
## More details
42+
## Motivation
4643

4744
This feature is useful for a few reasons, but the primary motivation was
4845
inter-edition situations. For example, `try` is not a keyword in the 2015

src/unstable-feature-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
| [Lifetime elision in `impl`s] | Unstable; [tracking issue][issue#44524] | 2015 |
3838
| Non-lexical lifetimes | [Implemented but not ready for preview][nll_status] | 2015 |
3939
| [`T: 'a` inference in `struct`s] | Unstable; [tracking issue][issue#44493] | 2015 |
40-
| [Raw identifiers] | Unstable; [tracking issue][issue#48589] | ? |
40+
| [Raw identifiers] | Shipping, 1.30; [tracking issue][issue#48589] | 2015 |
4141
| [Import macros via `use`] | Unstable; [tracking issue][issue#35896] | ? |
4242
| [Module system path changes] | Unstable; [tracking issue][issue#44660] | 2018 |
4343

0 commit comments

Comments
 (0)