This part of the Rust language kinda seems more verbose than realistically necessary.
Seems like it would be better to make a pecking order for where 'use' statements look for modules in, rather than having to have a file that is the same name as the folder you're referring to...
@brandon im not sure if im understanding your proposition correctly, but i like the explicitness. if, for example, im forking a library and im looking for a function definition, i know that there will be a `use` at the top that tells me where i can find it, or at least where i can find the next `use` in the stream.
@brandon or wait, are you talking about how you have to make `front_of_house.rs` with `pub use mod hosting` in it? because you can alrernatively have a `mod.rs` inside the `front_of_house` directory with the same contents instead
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.