<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> however, there&#39;s still one problem: you need to make sure you don&#39;t get wedged in a situation where you have one immutable borrow left, and you want to use exactly that index to tell the string to perform a mutation at a position… but you can&#39;t mutate because the index you are &quot;turning in&quot; to request the mutation is holding a borrow. Maybe the borrow checker already has rules smart enough to prevent this being a problem. I am still perpetually surprised by the borrow checker</p>
Reply