@@ -419,7 +419,7 @@ Converts comments to documentation.
419
419
420
420
421
421
### ` convert_bool_then_to_if `
422
- ** Source:** [ convert_bool_then.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_bool_then.rs#L131 )
422
+ ** Source:** [ convert_bool_then.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_bool_then.rs#L143 )
423
423
424
424
Converts a ` bool::then ` method call to an equivalent if expression.
425
425
@@ -443,7 +443,7 @@ fn main() {
443
443
444
444
445
445
### ` convert_closure_to_fn `
446
- ** Source:** [ convert_closure_to_fn.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_closure_to_fn.rs#L25 )
446
+ ** Source:** [ convert_closure_to_fn.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_closure_to_fn.rs#L27 )
447
447
448
448
This converts a closure to a freestanding function, changing all captures to parameters.
449
449
@@ -527,7 +527,7 @@ impl TryFrom<usize> for Thing {
527
527
528
528
529
529
### ` convert_if_to_bool_then `
530
- ** Source:** [ convert_bool_then.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_bool_then.rs#L20 )
530
+ ** Source:** [ convert_bool_then.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_bool_then.rs#L21 )
531
531
532
532
Converts an if expression into a corresponding ` bool::then ` call.
533
533
@@ -2258,7 +2258,7 @@ fn bar() {
2258
2258
2259
2259
2260
2260
### ` inline_local_variable `
2261
- ** Source:** [ inline_local_variable.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_local_variable.rs#L17 )
2261
+ ** Source:** [ inline_local_variable.rs] ( https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_local_variable.rs#L21 )
2262
2262
2263
2263
Inlines a local variable.
2264
2264
0 commit comments