File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,12 +289,12 @@ when (and where!) to work**:
289
289
290
290
### Remarks
291
291
292
- - ~~By default, the ["special lifetime"] is `'special `. Indeed, since `ref` is a
292
+ - ~~By default, the ["special lifetime"] is `'ref `. Indeed, since `ref` is a
293
293
Rust keyword, it is not a legal lifetime name, so it is impossible for it
294
294
to conflict with some real lifetime parameter equally named.~~
295
295
296
296
EDIT: an update to Rust and `rustc` has made it so not even macros can use
297
- such lifetime names. So `'special ` and the like are no longer legal.
297
+ such lifetime names. So `'ref ` and the like are no longer legal.
298
298
299
299
- But `#[with]` allows you to rename that lifetime to one of your liking, by
300
300
providing it as the first parameter of the attribute (the one applied to
You can’t perform that action at this time.
0 commit comments