<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>Rust言語では{〜}によるブロック構造も式(block expression)として扱う。［本記事はRust 1.0/Stable準拠］ブロック式全体の評価結果は、次の型／値となる。 唯一の部分式、または最終セミコロン;の次に出現する部分式の型／値。 ブロック式内が;で終わっている場合は、ユニット型(unit type)の値()。 let a = { 1u8 + 2 + 3 }; // u8型の値6 let b = { println!(&quot;X&quot;); 42 }; // i32型の値42 let c = { println!(&quot;Hello&quot;); }; // unit typeの値() 関数本体か…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150601%2Fp1&quot; title=&quot;ブロック式とセミコロン - yohhoyの日記&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>2015-06-01 00:00:00</published>
  <title>ブロック式とセミコロン</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20150601/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
