RHGitaly: fixed Clippy warnings
Some warnings have been fixed lower in the stack. However, the Camel Case rule for acronyms hurts my eyes in the case of TCP (and leads to plain wrong output when it ends up in startup logs through `fmt::Debug`). We had to change the way the generated code is included. This also has the nice effect of ignoring `gitaly.rs` in `rustfmt`, thus making `cargo fmt --check` work for us. The missing `Eq` impl when deriving `PartialEq` is new in Rust 1.63
parent
8a82701d
No related branches found
No related tags found
Showing
- rust/rhgitaly/clippy.toml 3 additions, 0 deletionsrust/rhgitaly/clippy.toml
- rust/rhgitaly/src/lib.rs 5 additions, 2 deletionsrust/rhgitaly/src/lib.rs
- rust/rhgitaly/src/main.rs 1 addition, 0 deletionsrust/rhgitaly/src/main.rs
- rust/rhgitaly/src/repository.rs 1 addition, 1 deletionrust/rhgitaly/src/repository.rs
rust/rhgitaly/clippy.toml
0 → 100644
Please register or sign in to comment