ENG-6452 : Lint staged fails on Rust formatting
After nix update, rustfmt started formatting let else which meant that lint-staged was failing. I took this opportunity to also fix some low-hanging clippy fixes.
Differential D10651
[rust] Formatting and clippy fixes michal on Jan 16 2024, 6:06 AM. Authored by Tags None Referenced Files
Details
ENG-6452 : Lint staged fails on Rust formatting After nix update, rustfmt started formatting let else which meant that lint-staged was failing. I took this opportunity to also fix some low-hanging clippy fixes. In each cargo project:
Diff Detail
Event TimelineComment Actions A few arguments were .into() into themselves so the function call was removed. A few unused imports were removed.
|