rename {submodule}.rs
with corresponding {submodule}
directory to {submodule}/mod.rs
#771
Labels
A: low-priority
Admin: low priority / non urgent issue, expect longer wait time for PR reviews
O: maintainability
Objective: cause to ease modification, fault corrections and improve code understanding
Milestone
Improvement Summary
Rename all
{submodule}.rs
with a corresponding{submodule}/
to{submodule}/mod.rs
. This doesn't change anything in the rust namespace.Example.
crates/ibc/src/applications/transfer/msgs/
andcrates/ibc/src/applications/transfer/msgs.rs
exist. So, I propose to rename the rust file tocrates/ibc/src/applications/transfer/msgs/mod.rs
.Proposal
Usually the file explorers sort the directories first and then the files. So, maintaining
{submodule}.rs
and{submodule}/
directory makes them separated on the viewing list.fd -e rs -x ls -d {.} 2> /dev/null
provides a list of directories which falls under this.The text was updated successfully, but these errors were encountered: