{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/mandel59/","published":"2014-04-04 17:45:34","blog_title":"Ryusei\u2019s Notes (a.k.a. M59\u306e\u30d6\u30ed\u30b0)","url":"https://mandel59.hateblo.jp/entry/2014/04/04/174534","type":"rich","title":"Rust 0.10\u3067FizzBuzz","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"author_name":"mandel59","height":"190","blog_url":"https://mandel59.hateblo.jp/","description":"\u6bce\u5ea6\u304a\u306a\u3058\u307fFizzBuzz\u3067Rust\u306e\u5909\u66f4\u70b9\u3092\u78ba\u8a8d\u3057\u3088\u3046\u3002 fn main() { let (tx, rx) = channel::<(int, std::str::MaybeOwned<'static>)>(); for i in range(0, 100) { let tx = tx.clone(); spawn(proc() { let i = i + 1; let b = match (i % 3, i % 5) { (0, 0) => \"FizzBuzz\".into_maybe_owned(), (0, _) => \"Fizz\".into_maybe_owned(), (_, 0)\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmandel59.hateblo.jp%2Fentry%2F2014%2F04%2F04%2F174534\" title=\"Rust 0.10\u3067FizzBuzz - Ryusei\u2019s Notes (a.k.a. M59\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>","version":"1.0","width":"100%","provider_name":"Hatena Blog"}