leo icon indicating copy to clipboard operation
leo copied to clipboard

[Feature] Use the newer file path style

Open acoglio opened this issue 1 year ago • 0 comments

According to this text in the Rust Book, the currently preferred path for the code in a module mymodule is .../mymodule.rs rather than .../mymodule/mod.rs. As noted in the referenced text, this avoids the proliferation of many files called mod.rs, which makes the files harder to spot and distinguish quickly in an IDE with many open editors (and I've in fact experienced that).

acoglio avatar Aug 11 '22 05:08 acoglio