Trying to understand some #rustlang borrow checker weirdness where add-assigning items of copyable user-defined types from within the same vec doesn't work but is fine with i32: stackoverflow.com/questions/6720…
It looks like printing (or otherwise using) a counter variable after a loop can stop rustc from optimizing away +1 additions on every loop iteration when the length of the loop is known. stackoverflow.com/a/66659965/106…#rustlang#rust@rustlang
PyO3 0.12 has been released on the weekend github.com/PyO3/pyo3/rele…! This release features reworked errors, deriving FromPyObject on structs and enums, improvements to creating functions and many other fixes and features! #rustlang#python#pyo3