mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
[ci] Update rust to 1.74 (#2545)
cc https://github.com/paritytech/ci_cd/issues/900 --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Dónal Murray <donal.murray@parity.io> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
833478f262
commit
cd63276d31
@@ -205,8 +205,7 @@ impl WsServer {
|
||||
Ok(soketto::Data::Text(len)) => String::from_utf8(buf[..len].to_vec())
|
||||
.map(Message::Text)
|
||||
.map_err(|err| Box::new(err) as Box<_>),
|
||||
Ok(soketto::Data::Binary(len)) => Ok(buf[..len].to_vec())
|
||||
.map(Message::Binary),
|
||||
Ok(soketto::Data::Binary(len)) => Ok(Message::Binary(buf[..len].to_vec())),
|
||||
Err(err) => Err(Box::new(err) as Box<_>),
|
||||
};
|
||||
Some((ret, (receiver, buf)))
|
||||
|
||||
Reference in New Issue
Block a user