1
0
Fork 0
forked from wry/wry

all: fix clippy lints

This commit is contained in:
Julian Orth 2024-02-04 20:17:55 +01:00
parent daf03b423d
commit 58cab8894c
6 changed files with 9 additions and 9 deletions

View file

@ -319,7 +319,7 @@ impl Forker {
level: log::Level::Error as _,
msg: format!("The ol' forker panicked: {}", pi),
};
let msg = bincode::encode_to_vec(&msg, bincode_ops()).unwrap();
let msg = bincode::encode_to_vec(msg, bincode_ops()).unwrap();
let _ = Fd::new(socket).write_all(&msg);
})
});