1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-21 21:38:09 -05:00

Cargo fmt

This commit is contained in:
Bradlee Speice 2020-01-12 21:19:26 -05:00
parent b86a876fdf
commit b9dbfdd29f

View File

@ -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);
} }
} }