Skip to content

Commit 909de5b

Browse files
committed
update block mode move rust match arms example
1 parent b72a09e commit 909de5b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/examples/suite/Block_Mode_-_Move_-_Rust_-_Match_arms.example.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ fn main() {
1010
0 => println!("hi"),
1111
1 => println!("he@llo"),
1212
2 => println!("howdy"),
13-
3 => println!("howdy hoo"),
14-
4 => println!("howdy there"),
13+
3 => println!("hey"),
14+
4 => println!("hiya"),
1515
5 => println!("he@llo there"),
16-
6 => println!("goodbye"),
17-
_ => println!("salutations"),
16+
6 => println!("salutations"),
17+
_ => println!("general kenobi"),
1818
}
1919
}`,
2020
cursor: "@",
@@ -39,11 +39,11 @@ fn main() {
3939
2 => println!("howdy"),
4040
0 => println!("hi"),
4141
1 => println!("hello"),
42-
3 => println!("howdy hoo"),
43-
6 => println!("goodbye"),
44-
4 => println!("howdy there"),
42+
3 => println!("hey"),
43+
6 => println!("salutations"),
44+
4 => println!("hiya"),
4545
5 => println!("hello there"),
46-
_ => println!("salutations"),
46+
_ => println!("general kenobi"),
4747
}
4848
}`,
4949
pause: 1000,

0 commit comments

Comments
 (0)