We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73304c3 commit 4f99b36Copy full SHA for 4f99b36
src/safe-guides/coding_practice/fn-design/G.FUD.06.md
@@ -13,7 +13,7 @@
13
fn three_vowels(word: &String) -> bool {
14
let mut vowel_count = 0;
15
for c in word.chars() {
16
- matchc {
+ match c {
17
'a' | 'e' | 'i' | 'o' | 'u' => {
18
vowel_count += 1;
19
if vowel_count >= 3 {
0 commit comments