Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Theemuts opened this issue Dec 10, 2018 · 1 comment
Open

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

Theemuts opened this issue Dec 10, 2018 · 1 comment

Comments

@Theemuts
Copy link

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.

@wa7sa34cx
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants