{"image_url":null,"categories":["rust"],"title":"Rust\u3067FizzBuzz","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsaba1024.hateblo.jp%2Fentry%2F2017%2F10%2F17%2F170556\" title=\"Rust\u3067FizzBuzz - saba1024\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://saba1024.hateblo.jp/entry/2017/10/17/170556","height":"190","version":"1.0","author_name":"saba1024","description":"fn fizz_buzz(n: i32) -> String { match (n % 3, n % 5) { (0, 0) => \"FizzBuzz\".to_string(), (0, _) => \"Fizz\".to_string(), (_, 0) => \"Buzz\".to_string(), (_, _) => n.to_string(), } } fn main() { let result = (1..101).map(|x| fizz_buzz(x)).collect::<Vec<_>>(); println!(\"{:?}\", result); } \u6614Scala\u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3092\u52c9\u2026","blog_url":"https://saba1024.hateblo.jp/","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/saba1024/","published":"2017-10-17 17:05:56","provider_url":"https://hatena.blog","blog_title":"saba1024\u306e\u30d6\u30ed\u30b0"}