Skip to content

Commit

Permalink
refactor: allow exception for clippy::pub_underscore_fields in genera…
Browse files Browse the repository at this point in the history
…ted code (#77)
  • Loading branch information
wmmc88 authored Jan 22, 2024
1 parent 923a25a commit 1638005
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/wdk-sys/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
#[allow(clippy::must_use_candidate)]
#[allow(clippy::not_unsafe_ptr_arg_deref)]
#[allow(clippy::ptr_as_ptr)]
#[rustversion::attr(
any(
all(not(nightly), since(1.77)),
all(nightly, since(2024-01-11)),
),
allow(clippy::pub_underscore_fields)
)]
#[allow(clippy::semicolon_if_nothing_returned)]
#[allow(clippy::too_many_arguments)]
#[allow(clippy::too_many_lines)]
Expand Down

0 comments on commit 1638005

Please sign in to comment.