Merge pull request #8 from xTibor/formatting_and_docs_fixes
Small formatting and documentation fixes
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user