Skip to content

Commit

Permalink
Ignore unused struct warnings for bindgen generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmartin82 committed Jul 29, 2024
1 parent 3562d78 commit 6417d73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pub mod qos;

// deactivate clippy on bindgen generated code
#[allow(clippy::all)]
#[allow(dead_code)]
mod bindings {
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}
Expand Down

0 comments on commit 6417d73

Please sign in to comment.