Summary
The project currently uses the older mod.rs convention for module files.
Since Rust 1.30, the recommended approach is to use module_name.rs instead.
Current State
There are 14 mod.rs files in the project, e.g.:
kernel/src/drivers/mod.rs
kernel/src/memory/mod.rs
shared/common/src/enums/mod.rs
Proposed Change
Rename according to the modern convention.
Example:
drivers/mod.rs → drivers.rs
drivers/keyboard/mod.rs → drivers/keyboard.rs
Reference
https://doc.rust-lang.org/reference/items/modules.html#module-source-filenames
I'm ready to work on this if necessary.
Summary
The project currently uses the older
mod.rsconvention for module files.Since Rust 1.30, the recommended approach is to use
module_name.rsinstead.Current State
There are 14
mod.rsfiles in the project, e.g.:kernel/src/drivers/mod.rskernel/src/memory/mod.rsshared/common/src/enums/mod.rsProposed Change
Rename according to the modern convention.
Example:
drivers/mod.rs→drivers.rsdrivers/keyboard/mod.rs→drivers/keyboard.rsReference
https://doc.rust-lang.org/reference/items/modules.html#module-source-filenames
I'm ready to work on this if necessary.