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

implement WriteAs for Borrow type #18

Merged
merged 1 commit into from
Sep 15, 2023
Merged

implement WriteAs for Borrow type #18

merged 1 commit into from
Sep 15, 2023

Conversation

kurtlawrence
Copy link
Owner

fixes #16 by implementing WriteAs for A: Borrow<F::Input<T>> rather than F::Input<T>.

This makes WriteAs be implemented for any type which can be borrowed into the format's input.

@kurtlawrence kurtlawrence merged commit 8900f64 into main Sep 15, 2023
1 check passed
@kurtlawrence kurtlawrence deleted the expand-write-as branch September 15, 2023 04:19
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.

Expand write_as to work on _owned_ data
1 participant