3 ms·
For Rust the Clippy linter will warn that such a line has "No effect" by default but the compiler itself won't warn you that the literal was unused. I was surpr
by tialaramex 4y ago
For Rust the Clippy linter will warn that such a line has "No effect" by default but the compiler itself won't warn you that the literal was unused. I was surprised by that too. This is also true for other literals, such as an integer.