fn
main
(
)
{
for
n
in
1..101
{
let
mut
out
:
String
=
""
.
to_string
(
)
;
if
n
%
3
==
0
{
out
+=
"Fizz"
;
}
if
n
%
5
==
0
{
out
+=
"Buzz"
;
}
if
out
==
""
{
out
=
n
.
to_string
(
)
;
}
println!
(
"{}"
,
out
)
;
}
}
Then that makes sense. I still want to make this more obgrisated, though.