aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-20 23:01:08 +0100
committerAleksey Kladov <[email protected]>2020-05-20 23:01:08 +0100
commit4ac0abd2960acf1b3a357c681e64b3cddba6fc8e (patch)
treebef3928f908fd9dec53eae60303f6abfe32ffd9d /docs
parent8300132ed0676496ec4adda49eb682ac24bdb5b9 (diff)
Snippetify unwrap -> match
Diffstat (limited to 'docs')
-rw-r--r--docs/user/assists.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md
index a6e27d67f..4ad7ea59d 100644
--- a/docs/user/assists.md
+++ b/docs/user/assists.md
@@ -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```