Skip to content

Commit

Permalink
CI: prevent clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Mar 11, 2024
1 parent f0e4bb1 commit 0165bc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Clippy
run: cargo clippy -- --deny warnings
1 change: 1 addition & 0 deletions actix-web-thiserror-derive/src/response_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pub fn derive_response_error(input: TokenStream) -> TokenStream {
unimplemented!();
};

#[allow(clippy::type_complexity)]
let (forwards, _internals, mut status_map, mut reason_map): (
HashSet<proc_macro2::Ident>,
HashSet<proc_macro2::Ident>,
Expand Down

0 comments on commit 0165bc8

Please sign in to comment.