The Rust Borrow Checker – A Deep Dive
Ahhh the joy of the borrow checker :<p>Me: Let&#x27;s code this little vector computations<p>BorrowChecker: &quot;Not like that&quot;<p>Me: &quot;What do you mean I have borrowed a mutable ? Let&#x27;s try something else purely out of random&quot;<p>BC: &quot;No&quot;<p>Me: &quot;Let&#x27;s rename things to cheat&quot;<p>BC: &quot;No&quot;<p>Me: &quot;Ah yeah, it&#x27;s because I try to use two indices in the same vector&quot;<p>BC: &quot;No&quot;<p>Me: &quot;G*mn at random, let&#x27;s shuffle things&quot;<p>BC: &quot;No&quot;<p>ME: Ok, let&#x27;s do it in python<p>(but believe me, once, you <i>understand</i> it and it becomes a really good friend, it just takes months :-) )