Cosmetic: whitespace

This commit is contained in:
Tony Garnock-Jones 2020-05-18 10:44:09 +02:00
parent f34a0bf267
commit 4cd4d95770
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ fn message_encoder(codec: &value::Codec<V, Syndicate>)
return move |p| futures::future::ready(encode_message(codec, p));
}
fn message_decoder(codec: &value::Codec<V, Syndicate>) -> impl Fn(Result<Message, tungstenite::Error>) -> ResultC2S + '_ {
fn message_decoder(codec: &value::Codec<V, Syndicate>)
-> impl Fn(Result<Message, tungstenite::Error>) -> ResultC2S + '_
{
return move |r| {
loop {
return match r {