Oddbean new post about | logout
 nostr:npub16pdljvqw3ld0f2mz8mq39tgcvhy3paqmc96kukn9cfscqa29u4wshq3nda So you normally only consider variant 2 for a module. Later on, if you want submodules in that module, you just create a directory next to it with the same name. That's it.

mod.rs is legacy for backwards compatibility and inline modules are almost only for tests in the same file. Now that I thought about it, I find it brilliant :P