@@ -1213,7 +1213,7 @@ struct S {
1213
1213
1214
1214
[discrete]
1215
1215
=== `extract_variable`
1216
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L11 [extract_variable.rs]
1216
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L12 [extract_variable.rs]
1217
1217
1218
1218
Extracts subexpression into a variable.
1219
1219
@@ -1479,7 +1479,7 @@ impl Person {
1479
1479
1480
1480
[discrete]
1481
1481
=== `generate_delegate_trait`
1482
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_delegate_trait.rs#L28 [generate_delegate_trait.rs]
1482
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_delegate_trait.rs#L29 [generate_delegate_trait.rs]
1483
1483
1484
1484
Generate delegate trait implementation for `StructField`s.
1485
1485
@@ -2384,7 +2384,7 @@ fn main() -> () {
2384
2384
2385
2385
[discrete]
2386
2386
=== `introduce_named_generic`
2387
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/introduce_named_generic.rs#L8 [introduce_named_generic.rs]
2387
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/introduce_named_generic.rs#L9 [introduce_named_generic.rs]
2388
2388
2389
2389
Replaces `impl Trait` function argument with the named generic.
2390
2390
@@ -3248,7 +3248,7 @@ fn handle(action: Action) {
3248
3248
3249
3249
[discrete]
3250
3250
=== `replace_is_some_with_if_let_some`
3251
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/replace_is_method_with_if_let_method.rs#L8 [replace_is_method_with_if_let_method.rs]
3251
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/replace_is_method_with_if_let_method.rs#L9 [replace_is_method_with_if_let_method.rs]
3252
3252
3253
3253
Replace `if x.is_some()` with `if let Some(_tmp) = x` or `if x.is_ok()` with `if let Ok(_tmp) = x`.
3254
3254
@@ -3815,7 +3815,7 @@ fn main() {
3815
3815
3816
3816
[discrete]
3817
3817
=== `wrap_return_type_in_result`
3818
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/wrap_return_type_in_result.rs#L14 [wrap_return_type_in_result.rs]
3818
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/wrap_return_type_in_result.rs#L16 [wrap_return_type_in_result.rs]
3819
3819
3820
3820
Wrap the function's return type into Result.
3821
3821
0 commit comments