<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>todays_mitsui</author_name>
  <author_url>https://blog.hatena.ne.jp/todays_mitsui/</author_url>
  <blog_title>無駄と文化</blog_title>
  <blog_url>https://blog.mudatobunka.org/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>Rust では所有権と借用, そしてライフタイムという概念があるため、値そのものを取り扱うより参照 (借用) を取り扱うことが難しくなりがちです。 特に関数から参照を返そうとすると、そこにはライフタイムの概念が絡んできます。 例えば下記のように関数内から文字列スライスを返す場合、 fn f() -&gt; &amp;str { &quot;str&quot; } このコードはこのままではコンパイルできません。 コンパイラはこのようなメッセージを出してきます、 missing lifetime specifier. expected named lifetime parameter. help: consider using t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mudatobunka.org%2Fentry%2F2023%2F09%2F05%2F120000&quot; title=&quot;Rust ではどんな値が &amp;amp;&amp;#39;static になれるのか - 無駄と文化&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>2023-09-05 12:00:00</published>
  <title>Rust ではどんな値が &amp;'static になれるのか</title>
  <type>rich</type>
  <url>https://blog.mudatobunka.org/entry/2023/09/05/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
