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

template: Add Deref impl on Error newtype #129

Merged
merged 1 commit into from
Aug 7, 2019
Merged

Conversation

tony-iqlusion
Copy link
Member

The Error type defined by the template is a thin newtype around abscissa::Error. Unfortunately the template defines a completely opaque newtype!

This adds a Deref impl to it which makes it easy to call any methods on abscissa::Error.

The `Error` type defined by the template is a thin newtype around
`abscissa::Error`. Unfortunately the template defines a completely
opaque newtype!

This adds a `Deref` impl to it which makes it easy to call any methods
on `abscissa::Error`.
@tony-iqlusion tony-iqlusion merged commit 350900c into develop Aug 7, 2019
@tony-iqlusion tony-iqlusion deleted the error/deref branch August 7, 2019 20:39
@tony-iqlusion tony-iqlusion mentioned this pull request Oct 13, 2019
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