rust@lemmy.worldtoRust@programming.dev•Do you use mod.rs, the module name, or does it vary? How do you decide?
7·
1 year agoI use mod.rs because I prefer having all the module’s files in the same folder. But I don’t do that unless a module is multiple files.
Why not &[String]?