mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
new clippies (#571)
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
1 parent
32763fedf2
commit
e7c761c068
3 files changed
+5
-6
No files matched your search
@@ -17,7 +17,7 @@ pub enum ObjectFormat {
|
||||
}
|
||||
|
||||
impl ObjectFormat {
|
||||
pub const PVM_MAGIC: [u8; 4] = [b'P', b'V', b'M', b'\0'];
|
||||
pub const PVM_MAGIC: [u8; 4] = *b"PVM\0";
|
||||
pub const ELF_MAGIC: [u8; 4] = [0x7f, b'E', b'L', b'F'];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user