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

feat: impl Add and Sub for all "input" newtypes. #314

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

molpopgen
Copy link
Owner

  • use macros to impl From to/from f64 for these types

@molpopgen
Copy link
Owner Author

Related to #277 but for the "input" versions of these types.

@molpopgen molpopgen force-pushed the input_type_arithmetic branch from dcc0897 to ce366ad Compare September 18, 2023 20:25
* Add, Sub, Mul, Div and PartialEq for Self and f64.
* use macros to impl From to/from f64 for these types
@molpopgen molpopgen force-pushed the input_type_arithmetic branch from ce366ad to d4dea5e Compare September 18, 2023 20:33
@molpopgen molpopgen merged commit 89e76df into main Sep 18, 2023
@molpopgen molpopgen deleted the input_type_arithmetic branch September 18, 2023 22:50
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.

1 participant