Oddbean new post about | logout
 nostr:npub16pdljvqw3ld0f2mz8mq39tgcvhy3paqmc96kukn9cfscqa29u4wshq3nda About modules:

I used mod.rs too until I had more than two mod.rs files open in my editor and I lost it. You don't even have to open multiple mod.rs files to be confused. If you have one open in a hidden tab, do you know which mod.rs file this is? I ended up closing mod.rs files quickly after editing them. Then I found about the solution with the file `submod.rs` next to the directory `submod`.