Fixed code formatting
This commit is contained in:
parent
cfb6246e52
commit
e6da885093
|
@ -100,9 +100,7 @@ where
|
||||||
ws_receiver
|
ws_receiver
|
||||||
.take_while(|msg| future::ready(msg.is_ok()))
|
.take_while(|msg| future::ready(msg.is_ok()))
|
||||||
.map(Result::unwrap)
|
.map(Result::unwrap)
|
||||||
.filter(|msg | {
|
.filter(|msg| future::ready(msg.is_text() || msg.is_binary()))
|
||||||
future::ready(msg.is_text() || msg.is_binary())
|
|
||||||
})
|
|
||||||
.map(ws::Message::into_bytes),
|
.map(ws::Message::into_bytes),
|
||||||
initializer,
|
initializer,
|
||||||
protocol,
|
protocol,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user