Skip to content

Commit

Permalink
interface{} -> int
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Sep 19, 2023
1 parent 1a20c18 commit 17b266d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/gno.land/r/demo/art/haiku/app/haiku.gno
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ func countSyllables(line string) (numSyllables int, err error) {
err = errors.New(ufmt.Sprintf("'%s' is not an english word", word))
return
} else {
numSyllables += v.(int)
numSyllables += v
}
} else {
numSyllables += v.(int)
numSyllables += v
}
} else {
numSyllables += v.(int)
numSyllables += v
}
} else {
numSyllables += v.(int)
numSyllables += v
}
}
return
Expand Down

0 comments on commit 17b266d

Please sign in to comment.