cargo fmt
and cargo clippy
changes
#141
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "atse/thermostat:cargo-fmt-clippy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run
cargo fmt
andcargo clippy
to clean up the Rust source code. Tested to boot on Thermostat v2.2.1.It's nice to do, but maybe also add rustfmt.toml like in artiq-zynq? Also similar to it, add to hydra jobs, so it would run in CI and at least post-factum contributors would know that their formatting is off.
Rustfmt.toml can be also integrated with IDEs: https://www.jetbrains.com/help/rust/rustfmt.html#format-cargo-project