diff --git a/src/dir.rs b/src/dir.rs index e425251..a280f67 100644 --- a/src/dir.rs +++ b/src/dir.rs @@ -1,8 +1,9 @@ -/// Directories for ME generation 2 and 3 -/// -/// There are multiple kinds of partitioning schemes, and some partitions may -/// contain directories, but directories could also be referenced by other data -/// structures, such as in the case of IFWI, so they are separate here. +//! Directories for ME generation 2 and 3 +//! +//! There are multiple kinds of partitioning schemes, and some partitions may +//! contain directories, but directories could also be referenced by other data +//! structures, such as in the case of IFWI, so they are separate here. + pub mod gen2; pub mod gen3; pub mod man; diff --git a/src/meta.rs b/src/meta.rs index 1fd49f6..d9bbd0a 100644 --- a/src/meta.rs +++ b/src/meta.rs @@ -1,4 +1,6 @@ -//! Adapted from me_cleaner, a map of key hashes => metadata (variant + version). +//! Map of key hashes => metadata (variant + version) +//! +//! This has been adapted from me_cleaner. use std::fmt::Display; diff --git a/src/part.rs b/src/part.rs index 80f9a19..730e474 100644 --- a/src/part.rs +++ b/src/part.rs @@ -1,8 +1,9 @@ -/// Partitioning for ME generation 2 and 3 -/// -/// There are multiple kinds of partitioning schemes, and some partitions may -/// contain directories, but directories could also be referenced by other data -/// structures, such as in the case of IFWI, so they are separate. +//! Partitioning for ME generation 2 and 3 +//! +//! There are multiple kinds of partitioning schemes, and some partitions may +//! contain directories, but directories could also be referenced by other data +//! structures, such as in the case of IFWI, so they are separate. + pub mod fpt; pub mod gen2; pub mod gen3; diff --git a/src/ver.rs b/src/ver.rs index 44485f5..3dd2e8c 100644 --- a/src/ver.rs +++ b/src/ver.rs @@ -1,3 +1,7 @@ +//! Common struct for version information +//! +//! This kind of version information occurs in multiple places. + use core::fmt::{self, Display}; use serde::{Deserialize, Serialize}; use zerocopy_derive::{FromBytes, Immutable, IntoBytes};