Make minor changes to fizzbuzz example
This commit is contained in:
parent
35f73d60f0
commit
79cc59c952
@ -11,7 +11,7 @@ while count <= 15 {
|
||||
} else if divides_by_5 {
|
||||
"buzz"
|
||||
} else {
|
||||
count.to_string()
|
||||
string(count)
|
||||
}
|
||||
|
||||
write_line(output)
|
||||
|
Loading…
Reference in New Issue
Block a user