edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
209 stars 26 forks source link

Apply lint suggestion and format the project #325

Closed aljazerzen closed 2 months ago

aljazerzen commented 2 months ago

Clippy was run with the following command:

          cargo clippy --all-features --workspace --all-targets -- \
            -A clippy::collapsible_if \
            -A clippy::derive_partial_eq_without_eq \
            -A clippy::zero_ptr \
            -A clippy::manual_strip \
            -A clippy::new_ret_no_self \
            -A clippy::type_complexity \
            -A clippy::vec_init_then_push \
            -A clippy::while_let_on_iterator \
            -A clippy::useless_format \
            -A clippy::too_many_arguments \
            -A clippy::clone_on_copy

This PR also adds GH Actions job step to check the code quality.