make clippy happy
This commit is contained in:
parent
a8bc1555c2
commit
a27dcf013f
6 changed files with 30 additions and 50 deletions
|
|
@ -107,7 +107,7 @@ where
|
|||
fn change_protocol(&mut self, protocol: &Protocol) {
|
||||
match protocol {
|
||||
Protocol::Text => self.parser = ParserTypes::TextParser(TextParser::new(0)),
|
||||
Protocol::Binary => self.parser = ParserTypes::BinaryParser(BinaryParser::new()),
|
||||
Protocol::Binary => self.parser = ParserTypes::BinaryParser(BinaryParser::default()),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue