cargo-fmt
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-23 20:07:46 +01:00
1 parent b2ffbc34b5
commit 43eec9621c
17 files changed
+112 -132

No files matched your search

+4 -4
View File
@@ -1,5 +1,5 @@
use postcard::{to_vec};
use serde::{Serialize, Deserialize};
use postcard::to_vec;
use serde::{Deserialize, Serialize};
#[derive(Default, Serialize, Deserialize, Debug, Eq, PartialEq)]
#[repr(C, packed)]
@@ -15,7 +15,7 @@ pub struct SCSIPacket {
transfer_length_milo: u8,
transfer_length_lo: u8,
flags_hi: u8,
control: u8
control: u8,
}
impl SCSIPacket {
@@ -40,4 +40,4 @@ impl SCSIPacket {
self.transfer_length_mihi = ((l >> 0x10) & 0xff) as u8;
self.transfer_length_hi = ((l >> 0x18) & 0xff) as u8;
}
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.