Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind committed Dec 19, 2021
1 parent fd9d134 commit 30a8c99
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mqtt-v5/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ pub mod websocket {
}
}

#[derive(Debug)]
#[derive(Debug, Default)]
pub struct WsUpgraderCodec {}

impl WsUpgraderCodec {
Expand Down Expand Up @@ -202,12 +202,6 @@ pub mod websocket {
}
}

impl Default for WsUpgraderCodec {
fn default() -> Self {
WsUpgraderCodec {}
}
}

impl Decoder for WsUpgraderCodec {
type Error = WsDecodeError;
type Item = String;
Expand Down

0 comments on commit 30a8c99

Please sign in to comment.