fix more clippy warnings

This commit is contained in:
Joakim Frostegård 2020-08-02 00:36:56 +02:00
parent aabdf76a5d
commit 561cc3db55
16 changed files with 83 additions and 106 deletions

View file

@ -271,7 +271,7 @@ pub enum OutMessage {
impl OutMessage {
#[inline]
pub fn to_ws_message(self) -> tungstenite::Message {
pub fn into_ws_message(self) -> tungstenite::Message {
let json = match self {
Self::AnnounceResponse(message) => {
serde_json::to_string(