Skip to content

Commit

Permalink
Allow dead_code lint for pinned callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-bruneau committed Sep 13, 2024
1 parent a596ef5 commit 0d7fdc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ pub enum CecConnectionResultError {
pub struct CecConnection(
pub CecConnectionCfg,
libcec_connection_t,
Pin<Box<CecCallbacks>>,
#[allow(dead_code)] Pin<Box<CecCallbacks>>,
);

impl CecConnection {
Expand Down

0 comments on commit 0d7fdc7

Please sign in to comment.