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 a problem as the intro for newtype pattern #153

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?
patterns/newtype.md Outdated Show resolved Hide resolved
@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
@simonsan simonsan added this to In progress in Content via automation Jan 3, 2021
patterns/newtype.md Outdated Show resolved Hide resolved
patterns/newtype.md Outdated Show resolved Hide resolved
pickfire and others added 2 commits January 5, 2021 01:10
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Ivan Tham <pickfire@riseup.net>
simonsan
simonsan previously approved these changes Jan 4, 2021
Content automation moved this from In progress to Reviewer approved Jan 4, 2021
patterns/newtype.md Outdated Show resolved Hide resolved
Content automation moved this from Reviewer approved to Review in progress Jan 5, 2021
Content automation moved this from Review in progress to Reviewer approved Jan 5, 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
Content automation moved this from Reviewer approved to Done 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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants