rust

joined 1 year ago
[–] rust@lemmy.world 3 points 1 year ago

Why not &[String]?

[–] rust@lemmy.world 7 points 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.