Skip to content

Use a problem as the intro for newtype pattern #153

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

Merged
merged 6 commits into from
Jan 5, 2021

Conversation

pickfire
Copy link
Contributor

@pickfire pickfire commented Jan 3, 2021

A problem can highlight some of the use cases of newtype
pattern rather than discussing generally that rust is strongly
typed. Make the user understand the need of newtype.

I wonder if it should be in the description instead?

Continued #117

r? @simonsan

A problem can highlight some of the use cases of newtype
pattern rather than discussing generally that rust is strongly
typed. Make the user understand the need of newtype.

I wonder if it should be in the description instead?
@simonsan simonsan added C-enhancement Category: Enhancements to content S-review Status: A PR that is currently under review or where a review is the next step labels Jan 3, 2021
pickfire and others added 2 commits January 5, 2021 01:10
simonsan
simonsan previously approved these changes Jan 4, 2021
@simonsan
Copy link
Collaborator

simonsan commented Jan 5, 2021

Nice, thank you! :-)

@simonsan simonsan merged commit e6b427c into rust-unofficial:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Enhancements to content S-review Status: A PR that is currently under review or where a review is the next step
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants