edition-guide icon indicating copy to clipboard operation
edition-guide copied to clipboard

Explain that either foo/mod.rs or foo.rs is necessary

Open Theemuts opened this issue 7 years ago • 1 comments

The edition guide contains a chapter on Path Clarity (3.1.2), which explains that for a module foo with submodules, foo/mod.rs is no longer required. From the text, it is not clear foo.rs should be created instead.

Theemuts avatar Dec 10 '18 21:12 Theemuts

I agree with it. No more mod.rs! Because if you have a bunch of files open in your editor, you can clearly see their names, instead of having a bunch of tabs named mod.rs.

wa7sa34cx avatar Aug 04 '21 12:08 wa7sa34cx