diff options
Diffstat (limited to 'docs/user/assists.md')
-rw-r--r-- | docs/user/assists.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 02323772c..a421aa0c3 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -698,7 +698,7 @@ use std::{collections::HashMap}; | |||
698 | 698 | ||
699 | ## `unwrap_block` | 699 | ## `unwrap_block` |
700 | 700 | ||
701 | Removes the `mut` keyword. | 701 | This assist removes if...else, for, while and loop control statements to just keep the body. |
702 | 702 | ||
703 | ```rust | 703 | ```rust |
704 | // BEFORE | 704 | // BEFORE |
@@ -710,6 +710,6 @@ fn foo() { | |||
710 | 710 | ||
711 | // AFTER | 711 | // AFTER |
712 | fn foo() { | 712 | fn foo() { |
713 | ┃println!("foo"); | 713 | println!("foo"); |
714 | } | 714 | } |
715 | ``` | 715 | ``` |