You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let device = &self.ctx.device;
let _device = &self.ctx.device;
I don't like that refactor because I might end up with local variables that do nothing. I think cargo fix should just ignore unused local variables all together. If cargo fix just renames local variables to hide the warnings from the compiler, then the compiler lint is a bit pointless.
Renaming unused function parameters seems fine.
The text was updated successfully, but these errors were encountered:
For example:
I don't like that refactor because I might end up with local variables that do nothing. I think
cargo fix
should just ignore unused local variables all together. Ifcargo fix
just renames local variables to hide the warnings from the compiler, then the compiler lint is a bit pointless.Renaming unused function parameters seems fine.
The text was updated successfully, but these errors were encountered: