Problem you are trying to solve
It's time to decide between foo.rs and foo/mod.rs. (I'm slightly inclined towards foo.rs.)
by @rami3l in #3882 (comment)
I still find [foo.rs imposing] non-trivial cognitive overhead because it means each module appears twice in the directory tree, and I have to decide which one I need to open.
by @djc in #3882 (comment)
Happy for us to have a discussion then about what style the project should take, but I've found the opposite - foo.rs means the module file path is always the same, whether or not the module has child modules, or is a leaf itself where a directory with just the module file would be tedious.
by @rbtcollins in #3764 (comment)
Solution you'd like
Unify the style of source file organization across the codebase to either one of them, completely eliminating the trace of the other.
Notes
No response
Problem you are trying to solve
Solution you'd like
Unify the style of source file organization across the codebase to either one of them, completely eliminating the trace of the other.
Notes
No response