Simplify code using clippy (#38)

Signed-off-by: Bala.FA <bala@minio.io>
This commit is contained in:
Bala FA
2023-09-06 07:52:31 +05:30
committed by GitHub
parent f4cadad6ef
commit bbc7945eb8
13 changed files with 667 additions and 728 deletions

View File

@@ -16,10 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build and Check style
- name: Build
run: |
cargo build --verbose
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -A clippy::result_large_err -A clippy::type_complexity -A clippy::too_many_arguments
cargo build --verbose
- name: Run tests
run: |