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 51807ffda..4ad7ea59d 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -426,7 +426,7 @@ fn main() { | |||
426 | 426 | ||
427 | // AFTER | 427 | // AFTER |
428 | fn main() { | 428 | fn main() { |
429 | let var_name = (1 + 2); | 429 | let $0var_name = (1 + 2); |
430 | var_name * 4; | 430 | var_name * 4; |
431 | } | 431 | } |
432 | ``` | 432 | ``` |
@@ -733,7 +733,7 @@ fn main() { | |||
733 | let x: Result<i32, i32> = Result::Ok(92); | 733 | let x: Result<i32, i32> = Result::Ok(92); |
734 | let y = match x { | 734 | let y = match x { |
735 | Ok(a) => a, | 735 | Ok(a) => a, |
736 | _ => unreachable!(), | 736 | $0_ => unreachable!(), |
737 | }; | 737 | }; |
738 | } | 738 | } |
739 | ``` | 739 | ``` |