6 ms·
What you want is quite the opposite of what rust is -- rust force rules. Look at how the borrow works. Most of the time, the compiler can _suggest_ the fix..
by j16sdiz 6mo ago
What you want is quite the opposite of what rust is -- rust force rules.
Look at how the borrow works. Most of the time, the compiler can _suggest_ the fix.. and instead of fixing that silently, they want you to fix it.
This is the design choice they made.