Skip to content

Commit 30c23d7

Browse files
committed
Update assist docs
1 parent 1e1ebc2 commit 30c23d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/book/src/assists_generated.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ Converts comments to documentation.
419419

420420

421421
### `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)
423423

424424
Converts a `bool::then` method call to an equivalent if expression.
425425

@@ -443,7 +443,7 @@ fn main() {
443443

444444

445445
### `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)
447447

448448
This converts a closure to a freestanding function, changing all captures to parameters.
449449

@@ -527,7 +527,7 @@ impl TryFrom<usize> for Thing {
527527

528528

529529
### `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)
531531

532532
Converts an if expression into a corresponding `bool::then` call.
533533

@@ -2258,7 +2258,7 @@ fn bar() {
22582258

22592259

22602260
### `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)
22622262

22632263
Inlines a local variable.
22642264

0 commit comments

Comments
 (0)