|
The borrow checker isn't good enough to allow you to return references to the contents of a structure and modify a structure from the same function. On Current versions this needs to be implemented with Entry, but your code does work correctly with the next-generation borrow checker (polonius) that's available in nightly, but thats been in development for a while now and is still in progress.
|
# ¿ Jul 4, 2023 16:54 |
|
|
# ¿ May 13, 2024 01:38 |