-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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.rskernel/src/memory/mod.rsshared/common/src/enums/mod.rs
Proposed Change
Rename according to the modern convention.
Example:
drivers/mod.rs→drivers.rsdrivers/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.
Reactions are currently unavailable