aboutsummaryrefslogtreecommitdiff
path: root/docs/user/assists.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user/assists.md')
-rw-r--r--docs/user/assists.md4
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
701Removes the `mut` keyword. 701This 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
712fn foo() { 712fn foo() {
713 println!("foo"); 713 println!("foo");
714} 714}
715``` 715```