Fixed code formatting

This commit is contained in:
D1plo1d 2021-03-31 20:57:39 -04:00
parent cfb6246e52
commit e6da885093

View File

@ -100,9 +100,7 @@ where
ws_receiver
.take_while(|msg| future::ready(msg.is_ok()))
.map(Result::unwrap)
.filter(|msg | {
future::ready(msg.is_text() || msg.is_binary())
})
.filter(|msg| future::ready(msg.is_text() || msg.is_binary()))
.map(ws::Message::into_bytes),
initializer,
protocol,