Skip to content

Commit

Permalink
clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Aug 31, 2020
1 parent c873a57 commit 6193b2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v3/client/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ where
this.inner.control.call(ControlMessage::publish(pkt.into_inner())),
&*this.inner,
)));
return self.poll(cx);
self.poll(cx)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/v3/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl MqttSink {
log::trace!("Unexpected PublishAck packet");
}
self.close();
return Err(ProtocolError::PacketIdMismatch);
Err(ProtocolError::PacketIdMismatch)
}
}

Expand Down

0 comments on commit 6193b2c

Please sign in to comment.