Clippy fixes#642
Conversation
|
Perhaps rather than adding the trait impl, instead I should put more effort into rewriting the code block? Maybe a Edit: That will work, but it is a 200+ line I went ahead and pushed that, happy to back it out though... |
|
I think this is good. Do you want to squash? |
|
I went ahead and squashed, I'd rather keep the clippy/manual rewrites separate, but it seemed like a pain to do. |
|
Hmm, we've hit a now-classic GitHub problem and the only way I know how to resolve it is: can you amend the last commit (e.g. just update the time) and force push? [I wish I knew a better way to fix this...] |
This required rewriting a code block avoid borrow a checker error introduced by clippy
|
Done. |
The first patch is hand written, so that the subsequent
cargo clippy --fixwon't introduce compilation errors with the borrow checker.