Skip to content

Commit

Permalink
Ignore clippy new_without_default
Browse files Browse the repository at this point in the history
Not needed for TcpKeepalive.
  • Loading branch information
Thomasdezeeuw committed May 24, 2024
1 parent 127a4c9 commit 7f67fbb
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 @@ -455,6 +455,7 @@ pub struct TcpKeepalive {

impl TcpKeepalive {
/// Returns a new, empty set of TCP keepalive parameters.
#[allow(clippy::new_without_default)]
pub const fn new() -> TcpKeepalive {
TcpKeepalive {
time: None,
Expand Down

0 comments on commit 7f67fbb

Please sign in to comment.