fn main() {
println!("Hello, world!");
}
impl Solution {
pub fn fizz_buzz(n: i32) -> Vec<String> {
(1..=n).map(|x| match x {
i if i % 3 == 0 && x % 5 == 0 => "FizzBuzz".to_string(),
i if i % 3 == 0 => "Fizz".to_string(),
i if i % 5 == 0 => "Buzz".to_string(),
i => i.to_string()
}).collect()
}
}