Skip to content

Commit 4f99b36

Browse files
fix typo (#129)
1 parent 73304c3 commit 4f99b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/safe-guides/coding_practice/fn-design/G.FUD.06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
fn three_vowels(word: &String) -> bool {
1414
let mut vowel_count = 0;
1515
for c in word.chars() {
16-
matchc {
16+
match c {
1717
'a' | 'e' | 'i' | 'o' | 'u' => {
1818
vowel_count += 1;
1919
if vowel_count >= 3 {

0 commit comments

Comments
 (0)