3 ms·
Yeah totally, I just meant as a pattern. Nonetheless, in rust even though you may have the borrow checker to safeguard against the mistake, that still leaves y
by asimpletune 5y ago
Yeah totally, I just meant as a pattern.
Nonetheless, in rust even though you may have the borrow checker to safeguard against the mistake, that still leaves you with now needing to accomplish the thing, in spite of the borrow checker.
Which is where using a builder would be one way to do it. So even rust you still need *something*, it’s just safer and more obvious to see why, because you literally can’t share the reference in two places.