pan class='comment'>// 文字列を一瞬だけ借用します</span>
}

<span class='comment'>// String は Deref&lt;Target=str&gt;を実装しています</span>
<span class='kw'>let</span> <span class='ident'>owned</span> <span class='op'>=</span> <span class='string'>&quot;Hello&quot;</span>.<span class='ident'>to_string</span>();
<span class='kw'>let</span> <span class='ident'>counted</span> <span class='op'>=</span> <span class='ident'>Rc</span>::<span class='ident'>new</span>(<span class='ident'>owne