Skip to content

Commit

Permalink
fix clippy on the latest stable toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 committed May 7, 2024
1 parent 8cf7d6b commit 35f47f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions madsim-rdkafka/src/std/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ impl fmt::Display for ErrBuf {
}
}

#[allow(dead_code)]
pub(crate) trait WrappedCPointer {
type Target;

Expand Down Expand Up @@ -324,6 +325,7 @@ where
}
}

#[allow(dead_code)]
pub(crate) struct OnDrop<F>(pub F)
where
F: Fn();
Expand Down

0 comments on commit 35f47f7

Please sign in to comment.