@@ -197,7 +197,7 @@ struct Point<'a> {
197
197
198
198
[discrete]
199
199
=== `add_missing_match_arms`
200
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_match_arms.rs#L16 [add_missing_match_arms.rs]
200
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_match_arms.rs#L13 [add_missing_match_arms.rs]
201
201
202
202
Adds missing clauses to a `match` expression.
203
203
@@ -1147,7 +1147,7 @@ impl Default for Example {
1147
1147
1148
1148
[discrete]
1149
1149
=== `generate_delegate_methods`
1150
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_delegate_methods.rs#L12 [generate_delegate_methods.rs]
1150
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_delegate_methods.rs#L16 [generate_delegate_methods.rs]
1151
1151
1152
1152
Generate delegate methods.
1153
1153
@@ -1286,7 +1286,7 @@ impl core::ops::Deref for B {
1286
1286
1287
1287
[discrete]
1288
1288
=== `generate_derive`
1289
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_derive.rs#L9 [generate_derive.rs]
1289
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_derive.rs#L8 [generate_derive.rs]
1290
1290
1291
1291
Adds a new `#[derive()]` clause to a struct or enum.
1292
1292
@@ -2375,7 +2375,7 @@ fn t() {}
2375
2375
2376
2376
[discrete]
2377
2377
=== `promote_local_to_const`
2378
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/promote_local_to_const.rs#L19 [promote_local_to_const.rs]
2378
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/promote_local_to_const.rs#L16 [promote_local_to_const.rs]
2379
2379
2380
2380
Promotes a local variable to a const item changing its name to a `SCREAMING_SNAKE_CASE` variant
2381
2381
if the local uses no non-const expressions.
0 commit comments