Skip to content

Commit bc11be9

Browse files
implementing-new-features.md: update parameters to declare_features!
The edition parameter was removed
1 parent 96dff09 commit bc11be9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/implementing-new-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The below steps needs to be followed in order to implement a new unstable featur
162162

163163
```rust ignore
164164
/// Allows defining identifiers beyond ASCII.
165-
(unstable, non_ascii_idents, "CURRENT_RUSTC_VERSION", Some(55467), None),
165+
(unstable, non_ascii_idents, "CURRENT_RUSTC_VERSION", Some(55467)),
166166
```
167167

168168
Features can be marked as incomplete,
@@ -173,7 +173,7 @@ The below steps needs to be followed in order to implement a new unstable featur
173173

174174
```rust ignore
175175
/// Allows deref patterns.
176-
(incomplete, deref_patterns, "CURRENT_RUSTC_VERSION", Some(87121), None),
176+
(incomplete, deref_patterns, "CURRENT_RUSTC_VERSION", Some(87121)),
177177
```
178178

179179
Feature flags related to a lang experiment must be marked as `incomplete`

0 commit comments

Comments
 (0)