Skip to content
Snippets Groups Projects
Commit aff13c0d authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #8 from xTibor/formatting_and_docs_fixes

Small formatting and documentation fixes
parents fa6c19f7 5dc6c486
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,6 @@ impl ops::DerefMut for ExNode {
}
#[test]
fn ex_node_size_test(){
fn ex_node_size_test() {
assert_eq!(mem::size_of::<ExNode>(), 512);
}
......@@ -8,7 +8,7 @@ pub struct Header {
pub signature: [u8; 8],
/// Version, should be 1
pub version: u64,
/// Disk ID, a 128-byte unique identifier
/// Disk ID, a 128-bit unique identifier
pub uuid: [u8; 16],
/// Disk size, in 512-byte sectors
pub size: u64,
......@@ -84,6 +84,6 @@ impl DerefMut for Header {
}
#[test]
fn header_size_test(){
fn header_size_test() {
assert_eq!(mem::size_of::<Header>(), 512);
}
......@@ -125,6 +125,6 @@ impl ops::DerefMut for Node {
}
#[test]
fn node_size_test(){
fn node_size_test() {
assert_eq!(mem::size_of::<Node>(), 512);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment