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

Use two module templates to implement mods for all 10 integer types #2210

Closed
wants to merge 2 commits into from

Conversation

brson
Copy link
Contributor

@brson brson commented Apr 15, 2012

Uses the technique discussed in #2187 to reduce duplication

@brson
Copy link
Contributor Author

brson commented Apr 15, 2012

This will probably make the documentation look odd, mentioning Ts instead of ints, etc. If #2176 is implemented we would be able to structure things so the docs would indicate that type T = int, and some of these little files to be eliminated.

@graydon
Copy link
Contributor

graydon commented Apr 16, 2012

clever, looks good to me.

@brson
Copy link
Contributor Author

brson commented Apr 16, 2012

Merged. Thanks!

@brson brson closed this Apr 16, 2012
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2022
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
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