<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arc on rustbites</title><link>https://www.rustbites.com/tags/arc/</link><description>Recent content in Arc on rustbites</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 15 Apr 2026 22:36:35 +0200</lastBuildDate><atom:link href="https://www.rustbites.com/tags/arc/index.xml" rel="self" type="application/rss+xml"/><item><title>83. Arc::unwrap_or_clone — Take Ownership Without the Dance</title><link>https://www.rustbites.com/posts/bite-083/</link><pubDate>Wed, 15 Apr 2026 17:00:00 +0100</pubDate><guid>https://www.rustbites.com/posts/bite-083/</guid><description>&lt;p&gt;You need to own a &lt;code&gt;T&lt;/code&gt; but all you have is an &lt;code&gt;Arc&amp;lt;T&amp;gt;&lt;/code&gt;. The old pattern is a six-line fumble with &lt;code&gt;try_unwrap&lt;/code&gt;. &lt;code&gt;Arc::unwrap_or_clone&lt;/code&gt; collapses it into one call — and skips the clone entirely when it can.&lt;/p&gt;</description></item></channel></rss>