3 ms·
For unused vars you can do this and the compiler will ignore it. _ = my_unsed_var;
by boywitharupee 4y ago
For unused vars you can do this and the compiler will ignore it.
_ = my_unsed_var;
- adamdusty 4y agoDoesn't that entirely defeat the purpose of having the compiler not allow unused variables.