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

Move encoding/mod.rs to /encoding.rs #59

Closed
wants to merge 1 commit into from

Conversation

ChrisSchinnerl
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl commented Nov 4, 2024

According to the Rust Book, using mod.rs for declaring modules with sub-modules is deprecated.

Note: Prior to rustc 1.30, using mod.rs files was the way to load a module with nested children. It is encouraged to use the new naming convention as it is more consistent, and avoids having many files named mod.rs within a project.

So I'm quickly updating the one occurrence we got to make sure we stick to the new convention right away before adding more mod.rs files.

@ChrisSchinnerl ChrisSchinnerl changed the title encoding: move encoding/mod.rs to /encoding.rs Move encoding/mod.rs to /encoding.rs Nov 4, 2024
@ChrisSchinnerl ChrisSchinnerl self-assigned this Nov 4, 2024
@n8maninger
Copy link
Member

Closing in favor of #57

@n8maninger n8maninger closed this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants