chore: Fix clippy lints (#881)

This commit is contained in:
tottoto
2022-01-13 06:32:40 +09:00
committed by GitHub
parent 4548997080
commit 366d888a4b
10 changed files with 17 additions and 20 deletions
+1
View File
@@ -84,6 +84,7 @@ where
body.advance(1);
let len = body.get_u32();
#[allow(clippy::let_and_return)]
let msg = T::decode(&mut body.split_to(len as usize)).unwrap();
msg