Skip to content

Commit f2c15ba

Browse files
authored
Merge pull request #1239 from gumb0/patch-1
Remove redundant semicolons
2 parents 479c82a + 5be9e49 commit f2c15ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flow_control/if_let.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn main() {
4141
} else {
4242
// Destructure failed. Change to the failure case.
4343
println!("Didn't match a number. Let's go with a letter!");
44-
};
44+
}
4545
4646
// Provide an altered failing condition.
4747
let i_like_letters = false;
@@ -55,7 +55,7 @@ fn main() {
5555
} else {
5656
// The condition evaluated false. This branch is the default:
5757
println!("I don't like letters. Let's go with an emoticon :)!");
58-
};
58+
}
5959
}
6060
```
6161

0 commit comments

Comments
 (0)