Module structure - to mod.rs
or to not mod.rs
? that is the question.
#3459
Ben-PH
started this conversation in
Code Style
Replies: 1 comment 6 replies
-
We often use the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This question emerged from #3441. Do we go for a structure that looks like this:
or more like this?
or is it one of those things that spending any time on it is just time lost to bike-shedding?
For me, I prefer not to have
mod.rs
in my directory structure for various reasons. Without going into detail, I just find things are easier to work with in that case.Beta Was this translation helpful? Give feedback.
All reactions