Closed
Description
For example:
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.