I 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.
rust
joined 1 year ago
I 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]?