<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Smart-Pointer on rustbites</title><link>https://www.rustbites.com/tags/smart-pointer/</link><description>Recent content in Smart-Pointer on rustbites</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 24 May 2026 10:58:11 +0200</lastBuildDate><atom:link href="https://www.rustbites.com/tags/smart-pointer/index.xml" rel="self" type="application/rss+xml"/><item><title>159. Rc&lt;T&gt; — Single-Threaded Shared Ownership</title><link>https://www.rustbites.com/posts/bite-159/</link><pubDate>Sun, 24 May 2026 09:00:00 +0100</pubDate><guid>https://www.rustbites.com/posts/bite-159/</guid><description>&lt;p&gt;The borrow checker&amp;rsquo;s one-owner rule is a feature until you&amp;rsquo;re modeling a graph, a cache, or any structure where &amp;ldquo;who owns this?&amp;rdquo; honestly has more than one answer. &lt;code&gt;Rc&amp;lt;T&amp;gt;&lt;/code&gt; is the escape hatch: a reference-counted pointer that lets multiple owners share the same heap allocation, single-threaded, no locking, no overhead beyond a counter increment.&lt;/p&gt;</description></item></channel></rss>