Skip to content

Commit 6a13053

Browse files
committed
Ignore clippy new_without_default
Not needed for TcpKeepalive.
1 parent 127a4c9 commit 6a13053

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ pub struct TcpKeepalive {
455455

456456
impl TcpKeepalive {
457457
/// Returns a new, empty set of TCP keepalive parameters.
458+
#[allow(clippy::new_without_default)]
458459
pub const fn new() -> TcpKeepalive {
459460
TcpKeepalive {
460461
time: None,

0 commit comments

Comments
 (0)