<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saba1024</author_name>
  <author_url>https://blog.hatena.ne.jp/saba1024/</author_url>
  <blog_title>saba1024のブログ</blog_title>
  <blog_url>https://saba1024.hateblo.jp/</blog_url>
  <categories>
    <anon>rust</anon>
  </categories>
  <description>fn fizz_buzz(n: i32) -&gt; String { match (n % 3, n % 5) { (0, 0) =&gt; &quot;FizzBuzz&quot;.to_string(), (0, _) =&gt; &quot;Fizz&quot;.to_string(), (_, 0) =&gt; &quot;Buzz&quot;.to_string(), (_, _) =&gt; n.to_string(), } } fn main() { let result = (1..101).map(|x| fizz_buzz(x)).collect::&lt;Vec&lt;_&gt;&gt;(); println!(&quot;{:?}&quot;, result); } 昔Scalaでパターンマッチを勉…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsaba1024.hateblo.jp%2Fentry%2F2017%2F10%2F17%2F170556&quot; title=&quot;RustでFizzBuzz - saba1024のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-17 17:05:56</published>
  <title>RustでFizzBuzz</title>
  <type>rich</type>
  <url>https://saba1024.hateblo.jp/entry/2017/10/17/170556</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
