mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 21:38:09 -05:00
Cargo fmt
This commit is contained in:
parent
b86a876fdf
commit
b9dbfdd29f
@ -103,7 +103,8 @@ mod tests {
|
|||||||
.expect("Unable to memory map CnC file")
|
.expect("Unable to memory map CnC file")
|
||||||
};
|
};
|
||||||
|
|
||||||
let metadata: &MetaDataDefinition = unsafe { &*(mmap.as_ptr() as *const MetaDataDefinition) };
|
let metadata: &MetaDataDefinition =
|
||||||
|
unsafe { &*(mmap.as_ptr() as *const MetaDataDefinition) };
|
||||||
assert_eq!(metadata.cnc_version, CNC_VERSION);
|
assert_eq!(metadata.cnc_version, CNC_VERSION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user