3 ms·
In rust, this is y=x.lock(), and later drop(y) or just end the scope block. Sugary syntax is always an issue when side effects matter. Having said that, I ado
by jvanderbot 2y ago
In rust, this is y=x.lock(), and later drop(y) or just end the scope block.
Sugary syntax is always an issue when side effects matter.
Having said that, I adore procedural code in general, but it does make ownership a fun mental exercise.