Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> > mod.rs isn't needed anymore;

I think the main reason why the foo.rs foo/bar.rs stuff was done was so that the tabs in an editor have informative headings. Instead of ten times mod.rs you have foo.rs, baz.rs, test.rs and so on. Personally I don't like it either (for the same reason as you) but the old way is still possible, even on the 2018 edition, so that's what I use.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: