Make tidy

This commit is contained in:
Austin Hicks 2016-11-23 16:31:21 -05:00
parent c8c3579bff
commit 052e59cc12
2 changed files with 2 additions and 2 deletions

View File

@ -578,7 +578,7 @@ impl<'a, 'gcx, 'tcx> Struct {
attr::ReprInt(_) => false,
attr::ReprExtern => true,
attr::ReprPacked => true,
attr::ReprSimd => bug!("Simd vectors should be represented as a layout::Vector")
attr::ReprSimd => bug!("Simd vectors should be represented as layout::Vector")
}
});
}

View File

@ -35,8 +35,8 @@ pub struct p0f_api_query {
pub magic: u32,
pub addr_type: u8,
pub addr: [u8; 16],
}
pub fn main() {
assert_eq!(size_of::<E1>(), 6);
assert_eq!(size_of::<E2>(), 6);