1
0
Fork 0
forked from wry/wry

all: update dependencies

This commit is contained in:
Julian Orth 2022-12-31 22:18:48 +01:00
parent 913b9d7213
commit 9863957779
5 changed files with 389 additions and 156 deletions

View file

@ -666,7 +666,7 @@ impl Client {
}
fn handle_msg(&self, msg: &[u8]) {
let res = bincode::decode_from_slice::<ServerMessage, _>(msg, bincode_ops());
let res = bincode::borrow_decode_from_slice::<ServerMessage, _>(msg, bincode_ops());
let (msg, _) = match res {
Ok(msg) => msg,
Err(e) => {