3 ms·
> In RUST it’s part of the language specification that you cannot have an unused variable I believe you're confusing Rust with Go. In Rust, an unused variable
by cesarb 3y ago
> In RUST it’s part of the language specification that you cannot have an unused variable
I believe you're confusing Rust with Go. In Rust, an unused variable is just a warning, unless you explicitly asked the compiler to turn that warning (or all warnings) into an error.