Skip to content

Commit ee1cbb9

Browse files
committed
use similar syntax in all arms
Fixes #17672
1 parent fc818ff commit ee1cbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@ fn main() {
20302030
match cmp(input, secret_number) {
20312031
Less => println!("Too small!"),
20322032
Greater => println!("Too big!"),
2033-
Equal => { println!("You win!"); },
2033+
Equal => println!("You win!"),
20342034
}
20352035
}
20362036

0 commit comments

Comments
 (0)