Fix clippy warnings

This commit is contained in:
Jeong YunWon
2022-08-12 09:30:02 +09:00
parent 3997e30db5
commit 33ab9497a3
7 changed files with 176 additions and 80 deletions

View File

@@ -179,7 +179,7 @@ mod decl {
buf.push(Type::Bytes as u8);
let data = bytes.as_bytes();
write_size(buf, data.len(), vm)?;
buf.extend(&*data);
buf.extend(data);
}
bytes @ PyByteArray => {
buf.push(Type::Bytes as u8);