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

Add support for numeric prefix file names and mod names #17

Merged
merged 1 commit into from
Jul 2, 2023
Merged

Add support for numeric prefix file names and mod names #17

merged 1 commit into from
Jul 2, 2023

Conversation

changrui0608
Copy link
Contributor

For Rust source files named with a numeric prefix, lib will use _{name} as its mod name.

While it's not good practice to name source files with a numeric prefix, this handles my unusual case.

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 7f10ec4 into dtolnay:master Jul 2, 2023
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

Successfully merging this pull request may close these issues.

2 participants